ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| esphome | esphome | = 2025.8.0 | — | No fix listed | CNA |
| — | esphome (PyPI) | before 2025.8.1 | 2025.8.1 | Patch available | GHSA-mxh2-ccgj-8635 |
- esphome Vendoresphome Affected = 2025.8.0 Fixed in — No fix listed CNA
- esphome (PyPI) Vendor— Affected before 2025.8.1 Fixed in 2025.8.1 Patch available GHSA-mxh2-ccgj-8635
Remediation
- Fix · GHSA-mxh2-ccgj-8635 esphome (PyPI) Fixed in 2025.8.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-57808
- 2026-10-03 Alias added: GHSA-mxh2-ccgj-8635
References
More Esphome Firmware vulnerabilities
- TI-2021-17945 web_server allows OTA update without checking user defined basic auth username & password CVSS 3.1HIGH 7.5
Sources
- CVE-2025-57808 · CVE Program
- CVE-2025-57808 · NVD
- FIRST EPSS
- GHSA-mxh2-ccgj-8635 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-57808 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences