CVE-2025-57808

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

State
Published
Severity
8.1 High
Published
Sep 2, 2025
Updated
Sep 2, 2025
Reserved
Aug 20, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-303 Incorrect Implementation of Authentication Algorithm

Affected Products

ProductVersions
esphomeesphome
  • = 2025.8.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.