{"id":"CVE-2021-41104","aliases":["PYSEC-2021-351"],"url":"https://o3.security/vulnerability/CVE-2021-41104","summary":"Basic auth bypass in esphome","details":"### Impact\n\nAnyone with web_server enabled and HTTP basic auth configured on 2021.9.1 or older\n\n`web_server` allows OTA update without checking user defined basic auth username & password\n\n### Patches\n\nPatch released in 2021.9.2\n\n### Workarounds\n\nDisable/remove `web_server`\n","published":"2021-09-29T17:09:14Z","modified":"2026-05-04T08:45:54.767868579Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"esphome","fixedVersion":"2021.9.2"}],"fix":{"url":"https://github.com/esphome/esphome/pull/2409","label":"esphome/esphome#2409"},"references":[{"type":"WEB","url":"https://github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41104"},{"type":"WEB","url":"https://github.com/esphome/esphome/pull/2409"},{"type":"WEB","url":"https://github.com/esphome/esphome/commit/2234f6aacf8cc653307fed80f3750317a82c4f83"},{"type":"WEB","url":"https://github.com/esphome/esphome/commit/be965a60eba6bb769e2a5afdbc8eed132f077a59"},{"type":"PACKAGE","url":"https://github.com/esphome/esphome"},{"type":"WEB","url":"https://github.com/esphome/esphome/releases/tag/2021.9.2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/esphome/PYSEC-2021-351.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-05-04T08:45:54.767868579Z"}}