{"cve":"CVE-2024-27081","nvd":{"published":"2024-02-26T17:15:10.550","modified":"2026-06-17T07:19:07.670","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513","https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p","https://github.com/esphome/esphome/commit/d814ed1d4adc71fde47c4df41215bee449884513","https://github.com/esphome/esphome/security/advisories/GHSA-8p25-3q46-8q2p"],"products":["esphome:esphome"],"source":"nvd","synced_at":"2026-10-19T21:45:59.823092188+00:00"},"epss":{"cve":"CVE-2024-27081","score":0.01535,"percentile":0.74846,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8p25-3q46-8q2p","url":"https://osv.dev/vulnerability/GHSA-8p25-3q46-8q2p","summary":"ESPHome vulnerable to remote code execution via arbitrary file write","modified":"2026-09-10T03:50:00.268709580Z","packages":[{"ecosystem":"PyPI","name":"esphome","purl":"pkg:pypi/esphome","ranges":[">=2023.12.9 <2024.2.1"],"fixed":["2024.2.1"]}]},{"id":"PYSEC-2026-1328","url":"https://osv.dev/vulnerability/PYSEC-2026-1328","summary":"ESPHome vulnerable to remote code execution via arbitrary file write","modified":"2026-07-07T17:46:44.640680657Z","packages":[{"ecosystem":"PyPI","name":"esphome","purl":"pkg:pypi/esphome","ranges":[">=2023.12.9 <2024.2.1"],"fixed":["2024.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}