CVE-2026-71279 Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution
설명
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.
영향 받는 제품 제품 1개
-
Koenkk
zigbee2mqtt
영향 받는 버전
- 2.12.0 이하
해결 버전
해결된 버전 정보가 없습니다.