ESPHome is a system to control microcontrollers remotely through Home Automation systems. In version 2025.8.0 in the ESP-IDF platform, ESPHome's web_server authentication check can pass incorrectly when the client-supplied base64-encoded Authorization value is empty or is a substring of the correct value. This allows access to web_server functionality (including OTA, if enabled) without knowing any information about the correct username or password. This issue has been patched in version 2025.8.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-303"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57808.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "= 2025.8.0"
},
{
"last_affected": "= 2025.8.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "2aceb56606ec8afec5f49c92e140c8050a6ccbe5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57808.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"316874833802465288425234083736581331185",
"234648937752810413699718802494118894771",
"301325781025904996100404335283704636146",
"264047594527174691354584872031578124596"
],
"threshold": 0.9
},
"id": "CVE-2025-57808-adcd52b0",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5",
"target": {
"file": "esphome/components/web_server_idf/web_server_idf.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "4743461949171868877050635443822276568",
"length": 998
},
"id": "CVE-2025-57808-eae663bf",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5",
"target": {
"file": "esphome/components/web_server_idf/web_server_idf.cpp",
"function": "AsyncWebServerRequest::authenticate"
}
}
]
"2026-10-28T10:51:48Z"