CVE-2024-27081Esphome
High 8.8
Follow: this CVE · Esphome · Esphome We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Feb 26, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Esphome.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | esphome |
≥ 2023.12.9 < 2024.2.1 |
2024.2.1 |
pip install "esphome>=2024.2.1" |
| PyPI | esphome |
≥ 2023.12.9 < 2024.2.1 |
2024.2.1 |
pip install "esphome>=2024.2.1" |
Per OSV / GitHub Advisories (GHSA-8p25-3q46-8q2p, PYSEC-2026-1328). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| esphome | esphome | 2023.12.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory