๐Ÿ” CVE Alert

CVE-2026-71279

HIGH 8.1

Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor koenkk
Product zigbee2mqtt
Published Aug 5, 2026
Last Updated Aug 10, 2026
Stay Ahead of the Next One

Get instant alerts for koenkk zigbee2mqtt

Be the first to know when new high vulnerabilities affecting koenkk zigbee2mqtt are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Koenkk / zigbee2mqtt
0 โ‰ค 2.12.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Koenkk/zigbee2mqtt github.com: https://github.com/Koenkk/zigbee2mqtt/blob/master/lib/extension/externalJS.ts

Credits

Alibek Baxtiyorov