CVE-2026-71279Koenkk zigbee2mqtt
High 8.0
Follow: this CVE · Koenkk · Koenkk zigbee2mqtt We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 3.1
- 8.0
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 5, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for zigbee2mqtt.
Affected products
- Koenkk · zigbee2mqtt
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.