A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Zigbee2MQTT's ExternalJSExtension.getFilePath (lib/extension/externalJS.ts) joins a parameter received via an MQTT message (topic zigbee2mqtt/bridge/request/extension/save) into the extensions base path using path.join(basePath, name) with no sanitization. The extension handler only validates that the name ends in .js/.mjs/.cjs, writes the file, and then dynamically imports it via Node.js import, achieving remote code execution.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /Koenkk/zigbee2mqtt
- github.com /Koenkk/zigbee2mqtt/blob/master/lib/extension/externalJS.ts
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning