Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. esphome
  4. ›
  5. CVE-2025-57808

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

September 2, 2025

On 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 (e.g., correct username with partial password). This allows access to web_server functionality (including OTA, if enabled) without knowing any information about the correct username or password.

References

  • github.com/advisories/GHSA-mxh2-ccgj-8635
  • github.com/esphome/esphome
  • github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5
  • github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635
  • nvd.nist.gov/vuln/detail/CVE-2025-57808

Code Behaviors & Features

Detect and mitigate CVE-2025-57808 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2025.8.1

Fixed versions

  • 2025.8.1

Solution

Upgrade to version 2025.8.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-187: Partial String Comparison
  • CWE-303: Incorrect Implementation of Authentication Algorithm

Source file

pypi/esphome/CVE-2025-57808.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:13 +0000.