CVE-2025-57808

ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header

Published Sep 2, 2025 CVSS 3.1 · 8.1 High EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-26385 ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header
Github GHSA Github GHSA GHSA-mxh2-ccgj-8635 ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header
History
Type Values Removed Values Added
First Time appeared Esphome esphome Firmware
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:esphome:esphome_firmware:2025.8.0:*:*:*:*:*:*:*
Vendors & Products Esphome esphome Firmware
Type Values Removed Values Added
First Time appeared Esphome
Esphome esphome
Vendors & Products Esphome
Esphome esphome
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header
Weaknesses CWE-303
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 2, 2025, 2:03 PM
Reserved
Aug 20, 2025, 2:30 PM
Status
Analyzed
Published
Sep 2, 2025, 1:15 AM
Modified
Oct 19, 2026, 5:10 PM