{
  "id": "CVE-2025-57808",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-57808",
  "published_at": "2025-09-02T00:26:09.017Z",
  "title": "ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header",
  "vendor": "esphome",
  "product": "esphome",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Device firmware",
    "confidence": "medium",
    "reason": "hardware or firmware CPE: esphome esphome_firmware"
  },
  "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.",
  "cwe": "CWE-303",
  "cpes": [
    "cpe:2.3:o:esphome:esphome_firmware:2025.8.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "esphome",
        "product": "esphome",
        "ranges": [
          "= 2025.8.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "esphome",
        "ranges": [
          "\u003c 2025.8.1"
        ],
        "fixed_in": [
          "2025.8.1"
        ],
        "ecosystem": "PyPI",
        "advisory": "GHSA-mxh2-ccgj-8635"
      }
    ],
    "upgrade": [
      "Upgrade esphome to 2025.8.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-57808.yaml",
      "source": "nuclei",
      "title": "nuclei template: ESPHome - Authentication Bypass",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
