CVE-2026-71279: Koenkk ZIGBEE2MQTT

High severity, CVSS 8.0. EPSS: 0.6% chance of exploitation in the next 30 days.

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.

Affected products

  • Koenkk ZIGBEE2MQTT: up to and including 2.12.0

Published 2026-08-05. Last modified 2026-08-26.