Read the docs
TI-2024-17944 Aliases CVE-2024-27081GHSA-8p25-3q46-8q2p

ESPHome remote code execution via arbitrary file write

Priority HIGH 73CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01535 74th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed esphome (PyPI): 2024.2.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
esphomeesphome= 2023.12.9—No fix listedCNA
—esphome (PyPI)2023.12.9 to before 2024.2.12024.2.1Patch availableGHSA-8p25-3q46-8q2p
  • esphome Vendoresphome Affected = 2023.12.9 Fixed in — No fix listed CNA
  • esphome (PyPI) Vendor— Affected 2023.12.9 to before 2024.2.1 Fixed in 2024.2.1 Patch available GHSA-8p25-3q46-8q2p

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:esphome:esphome:2023.12.9:*:*:*:*:*:*:*2023.12.9Vulnerableesphome
  • cpe:2.3:a:esphome:esphome:2023.12.9:*:*:*:*:*:*:* Versions 2023.12.9 Vulnerable ·esphome

Remediation

  • Fix · GHSA-8p25-3q46-8q2p esphome (PyPI) Fixed in 2024.2.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-27081
  2. 2026-10-03 Alias added: GHSA-8p25-3q46-8q2p

References

  • TI-2026-19197 ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component CVSS 4.0LOW 1.7
  • TI-2024-18126 ESPHome vulnerable to stored Cross-site Scripting in edit configuration file API CVSS 3.1HIGH 8.7

Sources