CVE-2026-71279
HIGH 8.0CVSS 3.1Zigbee2MQTT'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.
- Published
- 5 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- NVD status
- Deferred
- Weakness
- CWE-22
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
- https://github.com/Koenkk/zigbee2mqtt
- https://github.com/Koenkk/zigbee2mqtt/blob/master/lib/extension/externalJS.ts
History
- 25 Nov 2026 21:04 UTC ยท NVD: first stored (published 5 Aug 2026)