Vulnerability · Published Feb 26, 2024 · Assigned by GitHub_M
CVE-2024-27081ESPHome remote code execution via arbitrary file write
High 7.2
In plain English
A high-severity path traversal in esphome from esphome. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
ESPHome is a system to control your ESP8266/ESP32. A security misconfiguration in the edit configuration file API in the dashboard component of ESPHome version 2023.12.9 (command line installation) allows authenticated remote attackers to read and write arbitrary files under the configuration directory rendering remote code execution possible. This vulnerability is patched in 2024.2.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | esphome | 2024.2.1 | GHSA-8p25-3q46-8q2p |
| PyPI | esphome | 2024.2.1 | PYSEC-2026-1328 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H