Live threats

All CVEs / Esphome

CVE-2024-27081Esphome

High 8.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Esphome.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
esphomeesphome2023.12.9

Official sources

References

Links published by the sources. Open them with care.