CVE-2025-57808

Source
https://cve.org/CVERecord?id=CVE-2025-57808
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57808.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-57808
Aliases
Published
2025-09-02T00:26:09Z
Modified
2026-10-28T10:51:48Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header
Details

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.

Database specific
{
    "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"
}
References

Affected packages

Git / github.com/esphome/esphome

Affected ranges

Type
GIT
Repo
https://github.com/esphome/esphome
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "= 2025.8.0"
                },
                {
                    "last_affected": "= 2025.8.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "2aceb56606ec8afec5f49c92e140c8050a6ccbe5"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

2025.*
2025.8.0
= 2025.*
= 2025.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57808.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:51:48Z"