{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-71279","id":"CVE-2026-71279","title":"Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution","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, ","descriptionLong":"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.","published":"2026-08-05T12:26:25.594Z","updated":"2026-10-28T02:30:48.334549390Z","reserved":"2026-08-05T12:23:34.967Z","status":"Deferred","rejected":false,"assigner":"TuranSec","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"TuranSec"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"TuranSec"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Koenkk zigbee2mqtt"],"affectedProducts":[{"vendor":"Koenkk","product":"zigbee2mqtt","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"2.12.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":[],"references":[{"url":"https://github.com/Koenkk/zigbee2mqtt","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/Koenkk/zigbee2mqtt/blob/master/lib/extension/externalJS.ts","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71279.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71279","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00572,"epssPercentile":0.48073,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-71279","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71279","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-71279","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-71279","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}