CVE-2024-27081

CVE-2024-27081 is a high-severity vulnerability in Esphome with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.

Key facts

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.

Frequently asked questions

What is CVE-2024-27081?
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.
How severe is CVE-2024-27081?
CVE-2024-27081 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-27081 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (72nd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-27081?
CVE-2024-27081 affects Esphome. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-27081?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-27081 have an EU (EUVD) identifier?
Yes. CVE-2024-27081 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0877.
When was CVE-2024-27081 published?
CVE-2024-27081 was published on 2024-02-26 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Esphome

All CVEs affecting Esphome →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →