{"id":"CVE-2025-57808","state":"PUBLISHED","title":"ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header","description":"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.","publishedAt":"2025-09-02T00:26:09.017Z","updatedAt":"2025-09-02T14:03:58.777Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["esphome esphome"],"affected":[{"vendor":"esphome","product":"esphome","versions":[{"version":"= 2025.8.0","status":"affected"}]}],"references":["https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635","https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5"],"weaknesses":["CWE-303"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/57xxx/CVE-2025-57808.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-57808","state":"PUBLISHED","datePublished":"2025-09-02T00:26:09.017Z","dateUpdated":"2025-09-02T14:03:58.777Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-20T14:30:35.010Z"},"containers":{"cna":{"title":"ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"esphome","product":"esphome","versions":[{"version":"= 2025.8.0","status":"affected"}]}],"references":[{"url":"https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635","name":"https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5","name":"https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-303","lang":"en","description":"CWE-303: Incorrect Implementation of Authentication Algorithm","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-09-02T00:26:09.017Z"},"source":{"advisory":"GHSA-mxh2-ccgj-8635","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-02T14:03:56.354112Z","id":"CVE-2025-57808","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-02T14:03:58.777Z"}}]}}}