BreachSpiderVerified, not vibes

CVE-2021-41104 in Esphome and 3 more products

High 7.5

ESPHome is a system to control the ESP8266/ESP32. Anyone with web_server enabled and HTTP basic auth configured on version 2021.9.1 or older is vulnerable to an issue in which `web_server` allows over-the-air (OTA) updates without checking user defined basic auth username & password. This issue is patched in version...

Affects 4 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS1.2%
EPSS percentile68th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Esphome Esphome (device and firmware) < 2021.9.2

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Espressif Esp32, Espressif Esp8266

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

ESPHome is a system to control the ESP8266/ESP32. Anyone with web_server enabled and HTTP basic auth configured on version 2021.9.1 or older is vulnerable to an issue in which `web_server` allows over-the-air (OTA) updates without checking user defined basic auth username & password. This issue is patched in version 2021.9.2. As a workaround, one may disable or remove `web_server`.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-41104
BreachSpider IDBS-2021-GLOBAL-074468-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2021-09-28
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-306: Missing Authentication for Critical Function

Software does not perform any authentication for functionality that requires a verified identity.

Related attack patterns (CAPEC)

CAPEC-12 Choosing Message Identifier via CWE-306

CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306

CAPEC-62 Cross Site Request Forgery via CWE-306

CAPEC-166 Force the System to Reset Values via CWE-306

CAPEC-216 Communication Channel Manipulation via CWE-306

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2021. A high severity vulnerability affects Esphome systems (CVE-2021-41104). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: ESPHome is a system to control the ESP8266/ESP32. Anyone with web_server enabled and HTTP basic auth configured on version 2021.9.1 or older is vulnerable to an issue in which `web_server` allows over-the-air (OTA) updates without checking user defined basic auth username & password. This issue is patched in version 2021.9.2. As a workaround, one may disable or remove `web_server`. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Questions

What is CVE-2021-41104?

This vulnerability was disclosed in 2021. A high severity vulnerability affects Esphome systems (CVE-2021-41104). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2021-41104?

CVE-2021-41104 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.2%.

Is CVE-2021-41104 actively exploited?

No confirmed active exploitation of CVE-2021-41104 as of 2026-09-25.

How do I remediate CVE-2021-41104?

Priority: MEDIUM.

What systems are affected by CVE-2021-41104?

CVE-2021-41104 affects Esphome Esphome.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Esphome","product":"Esphome","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.