Path Traversal in Esphome

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.015 (73.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 73.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-27081: held from 0.015 to 0.015.

EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000

Affected products

  • Esphome — versions = 2023.12.9, 2023.12.9

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-27081?
CVE-2024-27081 is a high-severity vulnerability in Esphome, classified under Path Traversal. CVSS score: 7.2/10. Published 2024-02-26.
How severe is CVE-2024-27081?
High severity. CVSS v3 base score is 7.2 out of 10.
Is CVE-2024-27081 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.