CVE-2026-71279CWE-22path-traversal

CVE-2026-71279

High · published August 5, 2026

CVSS v3.1
8.0
EPSS
1%
Percentile
46.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.0 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00572 · 46.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-08-05T17:24Z
References (2)
EPSS history
Timeline
  • 05 AUG 12:26Z
    Zigbee2MQTT External JS Extension Path Traversal Leading to Remote Code Execution
    cvelistv5