CVE-2024-27081
published high CVSS 3.1 · 7.2ESPHome remote code execution via arbitrary file write
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| esphome | esphome | = 2023.12.9 (affected) | GitHub_M · cna |
| esphome | esphome | 2023.12.9 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
3GitHub_M · cna
ESPHome remote code execution via arbitrary file write
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cf69f0a81c960dfafbae3f98e7716ac1bac45fbc46229790eb7696b8072d517b
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record