CVE-2026-71279
published high CVSS 3.1 · 8.1Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Koenkk | — | zigbee2mqtt0 through 2.12.0 · Other versions: unaffected | Affected | Not stated | TuranSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- TuranSec · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Koenkk | zigbee2mqtt | 0 through 2.12.0 (affected · semver)Default: unaffected | TuranSec · cna |
Weaknesses
1- CWE-22
References
2Provider assertions
2TuranSec · cna
Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49841b8bf016d9ff26fc5304dcc1bcb3da84a6b9eceec3b04a52906c4ee5e76a
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record