Live threats

All CVEs / Esphome

CVE-2021-41104Esphome Firmware

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Sep 28, 2021
Updated
Jun 17, 2026
Category
Firmware · Network appliance
Weakness (CWE)
CWE-306
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Esphome Firmware.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI esphome < 2021.9.2 2021.9.2 pip install "esphome>=2021.9.2"
PyPI esphome < 2021.9.2 2021.9.2 pip install "esphome>=2021.9.2"

Per OSV / GitHub Advisories (GHSA-48mj-p7x2-5jfm, PYSEC-2021-351). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
esphomeesphome_firmware< 2021.9.2

Official sources

References

Links published by the sources. Open them with care.