{"id":"CVE-2025-57808","published":"2025-09-02T00:26:09Z","modified":"2025-09-02T14:03:58Z","title":"ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header","vendor":"esphome","product":"esphome","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01549,"percentile":0.75722,"provenance":"source"},"cwes":[{"id":"CWE-303","name":"Incorrect Implementation of Authentication Algorithm"}],"references":[{"url":"https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5","tags":["x_refsource_MISC"]}],"priority":{"score":25.8,"factors":[{"name":"EPSS percentile","points":15.14},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"nuclei":[{"id":"CVE-2025-57808","name":"ESPHome - Authentication Bypass","severity":"high","path":"http/cves/2025/CVE-2025-57808.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-57808.yaml"}],"provenance":"source"},"vendorSlug":"esphome","affectedVersions":[{"vendor":"esphome","product":"esphome","versions":["= 2025.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-09-02T14:03:56.354112Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"esphome","vulnerableRanges":["<2025.8.1"],"patched":["2025.8.1"],"from":["GHSA-mxh2-ccgj-8635","PYSEC-2026-1330"],"provenance":"source"}],"summary":{"text":"The ESPHome web_server component on the ESP-IDF platform has an authentication flaw: its basic-auth check can incorrectly pass when the client-supplied base64-encoded Authorization value is empty or is a substring of the correct value. An attacker on the network can reach web_server functionality, including OTA updates if enabled, without knowing the correct username or password, and no authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:50Z"},"euvd":{"id":"EUVD-2025-26385","exploited":false,"provenance":"source"}}