CVEvulnerability

CVE-2026-71279

8.0 HIGH Published 2026-08-05 Modified 2026-10-23 Official page ↗
Status
Deferred
Published
2026-08-05
Last modified
2026-10-23
Assigner
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS 3.1 (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c)
8.0 HIGH — CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22

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.

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References