Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-71279— Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution

Quick assessment

Affected
Koenkk zigbee2mqtt
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Koen Kanters Zigbee2MQTT是Koen Kanters个人开发者的一个连接Zigbee与MQTT的智能家居桥接软件。 Koen Kanters Zigbee2MQTT 2.12.0及之前版本存在路径遍历漏洞,该漏洞源于ExternalJSExtension.getFilePath()函数在处理name参数时未进行清理,使用path.join拼接路径导致路径遍历,攻击者可通过MQTT消息构造恶意文件路径,实现远程代码执行或任意文件删除。

CVSS 8.1 · High EPSS 0.36% · P30

Affected Version Matrix 1

VendorProduct Version RangeStatus
Koenkk zigbee2mqtt ≤ 2.12.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-71279

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Koen Kanters Zigbee2MQTT 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Koen Kanters Zigbee2MQTT是Koen Kanters个人开发者的一个连接Zigbee与MQTT的智能家居桥接软件。 Koen Kanters Zigbee2MQTT 2.12.0及之前版本存在路径遍历漏洞,该漏洞源于ExternalJSExtension.getFilePath()函数在处理name参数时未进行清理,使用path.join拼接路径导致路径遍历,攻击者可通过MQTT消息构造恶意文件路径,实现远程代码执行或任意文件删除。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Koenkk zigbee2mqtt 0 ~ 2.12.0 -

II. Public POCs for CVE-2026-71279

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 7682 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-71279

登录查看更多情报信息。

Other References for CVE-2026-71279 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-71279

No comments yet


Leave a comment