High

Basic auth bypass in esphome

  • Disclosed: 28.09.2021
  • Updated: 11.10.2026 12:19

Impact

Anyone with web_server enabled and HTTP basic auth configured on 2021.9.1 or older

web_server allows OTA update without checking user defined basic auth username & password

Patches

Patch released in 2021.9.2

Workarounds

Disable/remove web_server

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) esphome < 2021.9.2 2021.9.2

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-306
Platform
Python (PyPI)
Package
esphome
Disclosed
28.09.2021
Updated
11.10.2026 12:19

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2021-351 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-48mj-p7x2-5jfm - CC BY 4.0

Vulnerability history: esphome

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
09.2021 01.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 4
  • Medium 2

Disclosures per year

  1. 2021: 1
  2. 2022: 0
  3. 2023: 0
  4. 2024: 3
  5. 2025: 1
  6. 2026: 1
  1. High · 8.1 CVE-2024-29019 >= 2023.12.9, < 2024.3.0 2024.3.0
  2. Medium · 6.5 CVE-2024-27287 >= 2023.12.9, < 2024.2.2 2024.2.2
  3. High · 7.2 CVE-2024-27081 >= 2023.12.9, < 2024.2.1 2024.2.1
  4. Basic auth bypass in esphome this entry
    High · 7.5 CVE-2021-41104 < 2021.9.2 2021.9.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.