CVE-2025-57808
HIGH 8.1CVSS 3.1ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header
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.
- Published
- 2 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-187CWE-303
- Also known as
- GHSA-mxh2-ccgj-8635PYSEC-2026-1330
- Sources
- NVDJSONOSV GHSA-mxh2-ccgj-8635JSONOSV PYSEC-2026-1330JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | esphome | esphome_firmwarecpe:2.3:o:esphome:esphome_firmware:2025.8.0:*:*:*:*:*:*:* |
= 2025.8.0 | |
| OSV | PyPI | esphome | < 2025.8.1 | 2025.8.1 |
References
- https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5 · Patch, WEB
- https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635 · Exploit, Vendor Advisory, 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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 2 Sep 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Sep 2025)