CVE-2024-27081

ESPHome remote code execution via arbitrary file write

Published Feb 26, 2024 CVSS 3.1 · 7.2 High EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0877 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.
Github GHSA Github GHSA GHSA-8p25-3q46-8q2p ESPHome vulnerable to remote code execution via arbitrary file write
History
Type Values Removed Values Added
First Time appeared Esphome
Esphome esphome
CPEs cpe:2.3:a:esphome:esphome:2023.12.9:*:*:*:*:*:*:*
Vendors & Products Esphome
Esphome esphome
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 27, 2024, 8:29 PM
Reserved
Feb 19, 2024, 2:43 PM
Status
Analyzed
Published
Feb 26, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:19 AM