Skip to content

CVE-2024-27081 ESPHome remote code execution via arbitrary file write

HighCVSS 8.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi esphome(PyPI) = 2023.12.9; = 2024.2.0; = 2024.2.0b1; = 2024.2.0b2 +2 more 2024.2.1 Fixed
esphome = 2023.12.9; = = 2023.12.9 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi esphome(PyPI) >= 2023.12.9, < 2024.2.1 2024.2.1
pypi esphome(PyPI) = 2023.12.9 No fix listed
pypi esphome(PyPI) = 2024.2.0 No fix listed
pypi esphome(PyPI) = 2024.2.0b1 No fix listed
pypi esphome(PyPI) = 2024.2.0b2 No fix listed
pypi esphome(PyPI) = 2024.2.0b3 No fix listed
esphome = = 2023.12.9 No fix listed
esphome = 2023.12.9 No fix listed

References