CVE-2024-27081

Source
https://cve.org/CVERecord?id=CVE-2024-27081
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27081.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27081
Aliases
Published
2024-02-26T16:29:21.620Z
Modified
2026-07-08T08:12:42.480726863Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ESPHome remote code execution via arbitrary file write
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27081.json",
    "cwe_ids": [
        "CWE-22"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/esphome/esphome

Affected ranges

Type
GIT
Repo
https://github.com/esphome/esphome
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:esphome:esphome:2023.12.9:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2023.12.9"
        },
        {
            "last_affected": "2023.12.9"
        }
    ]
}

Affected versions

2023.*
2023.12.9
2024.*
2024.2.0
= 2023.*
= 2023.12.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27081.json"