# CVE-2025-57808: ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.55%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-02T00:26:09.017Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: GHSA-mxh2-ccgj-8635, PYSEC-2026-1330
- Weaknesses: CWE-187, CWE-303
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- esphome esphome: = 2025.8.0
- esphome (PyPI): before 2025.8.1
- esphome esphome_firmware: 2025.8.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635> (exploit, vendor-advisory, web)
- <https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57808> (advisory)
- <https://github.com/esphome/esphome> (package)
- <https://pypi.org/project/esphome> (package)
- <https://github.com/advisories/GHSA-mxh2-ccgj-8635> (advisory)

## Sources

- CVE List: [CVE-2025-57808](https://www.cve.org/CVERecord?id=CVE-2025-57808), CVE Terms of Use, modified 2025-09-02
- GitHub Advisory Database: [GHSA-mxh2-ccgj-8635](https://github.com/advisories/GHSA-mxh2-ccgj-8635), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-57808](https://nvd.nist.gov/vuln/detail/CVE-2025-57808), Public domain, modified 2026-10-19
- PyPA Advisory Database: [PYSEC-2026-1330](https://osv.dev/vulnerability/PYSEC-2026-1330), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-57808 · Whole record: https://cve.day/CVE-2025-57808.json · Rebuilt by cve.day 2026-11-25T22:59:03.981Z
