Security mailing lists by PureSourceCode

CVE-2021-41104

HIGH 7.5CVSS 3.1

Basic auth bypass in esphome

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.

Published
28 Sep 2021
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-306
Also known as
GHSA-48mj-p7x2-5jfmPYSEC-2021-351
Sources
NVDJSONOSV GHSA-48mj-p7x2-5jfmJSONOSV PYSEC-2021-351JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD esphome esphome_firmware
cpe:2.3:o:esphome:esphome_firmware:*:*:*:*:*:*:*:*
< 2021.9.2 2021.9.2
OSV PyPI esphome < 2021.9.2 2021.9.2

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 28 Sep 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 Sep 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.