{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-41104","published":"2021-09-28T16:15:08.413000Z","last_modified":"2026-06-17T04:07:52.940000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-306"],"cpes":[{"criteria":"cpe:2.3:o:esphome:esphome_firmware:*:*:*:*:*:*:*:*","part":"o","vendor":"esphome","product":"esphome_firmware","version_end_excluding":"2021.9.2"}],"cpes_truncated":false,"vendors":["esphome"],"products":["esphome/esphome_firmware"],"epss":{"score":0.01213,"percentile":0.68475,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"firmware","platform":"appliance","eol":false,"packages":[{"advisory":"GHSA-48mj-p7x2-5jfm","ecosystem":"PyPI","name":"esphome","purl":"pkg:pypi/esphome","ranges":[{"introduced":"0","fixed":"2021.9.2"}],"versions":["1.10.1","1.11.0","1.11.0b1","1.11.0b2","1.11.0b3","1.11.1","1.11.2","1.12.0","1.12.0b1","1.12.0b2","1.12.0b3","1.12.0b4","1.12.1","1.12.2","1.13.0","1.13.0b1","1.13.0b2","1.13.0b3","1.13.0b4","1.13.0b5","1.13.0b6","1.13.0b7","1.13.1","1.13.2","1.13.3","1.13.4","1.13.5","1.13.6","1.14.0","1.14.0b1","1.14.0b2","1.14.0b3","1.14.0b4","1.14.0b5","1.14.1","1.14.2","1.14.3","1.14.4","1.14.5","1.15.0","1.15.0b1","1.15.0b2","1.15.0b3","1.15.0b4","1.15.1","1.15.2","1.15.3","1.16.0","1.16.0b1","1.16.0b2","1.16.0b3","1.16.0b4","1.16.0b5","1.16.0b6","1.16.0b7","1.16.0b8","1.16.1","1.16.2","1.17.0","1.17.0b1","1.17.1","1.17.2","1.18.0","1.18.0b1","1.18.0b2","1.18.0b3","1.18.0b4","1.19.0","1.19.0b1","1.19.0b2","1.19.0b3","1.19.0b4","1.19.0b5","1.19.0b6","1.19.0b7","1.19.1","1.19.2","1.19.3","1.19.4","1.20.0","1.20.0b1","1.20.0b2","1.20.0b3","1.20.0b4","1.20.0b5","1.20.0b6","1.20.1","1.20.2","1.20.3","1.20.4","1.21.0b1","1.21.0b2","1.21.0b3","2021.8.0","2021.8.1","2021.8.2","2021.9.0","2021.9.0b1","2021.9.0b2","2021.9.0b3","2021.9.0b4","2021.9.0b5","2021.9.1"],"versions_truncated":false},{"advisory":"PYSEC-2021-351","ecosystem":"PyPI","name":"esphome","purl":"pkg:pypi/esphome","ranges":[{"introduced":"0","fixed":"2021.9.2"}],"versions":["1.10.1","1.11.0","1.11.0b1","1.11.0b2","1.11.0b3","1.11.1","1.11.2","1.12.0","1.12.0b1","1.12.0b2","1.12.0b3","1.12.0b4","1.12.1","1.12.2","1.13.0","1.13.0b1","1.13.0b2","1.13.0b3","1.13.0b4","1.13.0b5","1.13.0b6","1.13.0b7","1.13.1","1.13.2","1.13.3","1.13.4","1.13.5","1.13.6","1.14.0","1.14.0b1","1.14.0b2","1.14.0b3","1.14.0b4","1.14.0b5","1.14.1","1.14.2","1.14.3","1.14.4","1.14.5","1.15.0","1.15.0b1","1.15.0b2","1.15.0b3","1.15.0b4","1.15.1","1.15.2","1.15.3","1.16.0","1.16.0b1","1.16.0b2","1.16.0b3","1.16.0b4","1.16.0b5","1.16.0b6","1.16.0b7","1.16.0b8","1.16.1","1.16.2","1.17.0","1.17.0b1","1.17.1","1.17.2","1.18.0","1.18.0b1","1.18.0b2","1.18.0b3","1.18.0b4","1.19.0","1.19.0b1","1.19.0b2","1.19.0b3","1.19.0b4","1.19.0b5","1.19.0b6","1.19.0b7","1.19.1","1.19.2","1.19.3","1.19.4","1.20.0","1.20.0b1","1.20.0b2","1.20.0b3","1.20.0b4","1.20.0b5","1.20.0b6","1.20.1","1.20.2","1.20.3","1.20.4","1.21.0b1","1.21.0b2","1.21.0b3","2021.8.0","2021.8.1","2021.8.2","2021.9.0","2021.9.0b1","2021.9.0b2","2021.9.0b3","2021.9.0b4","2021.9.0b5","2021.9.1"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-41104/","html_en":"/en/cve/CVE-2021-41104/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41104","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41104"},"untrusted":{"vendor_name":"Esphome","product_name":"Esphome Firmware","desc_en":"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`.","affected":[{"untrusted_vendor":"esphome","untrusted_product":"esphome","versions":[]}],"references":[{"url":"https://github.com/esphome/esphome/pull/2409/commits/207cde1667d8c799a197b78ca8a5a14de8d5ca1e","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/esphome/esphome/releases/tag/2021.9.2","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm","tags":["Patch","Third Party Advisory"]}]}}