High severity · published Aug 5, 2026
CVE-2026-71259
ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution
8.6
CVSS
0.2%
EPSS
No
On KEV
Description
ESPHome through 2026.7.0-dev contains an operator-precedence bug in the cv.url validator in esphome/config_validation.py. Because binds tighter than , any file: URI passes validation regardless of netloc. This validator gates the field of the external_components YAML directive's git source schema, which is passed to (git supports file:// natively).
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ES
esphome · esphome
through 2026.7.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-71259
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-71259
github.com
https://github.com/esphome/esphome
github.com
https://github.com/esphome/esphome/blob/dev/esphome/config_validation.py
More from esphome
8.8
CVE-2024-27081
ESPHome remote code execution via arbitrary file write
8.7
CVE-2024-27287
ESPHome vulnerable to stored Cross-site Scripting in edit configuration file API
8.1
CVE-2025-57808
ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header
8.1
CVE-2024-29019
ESPHome vulnerable to Authentication bypass via Cross site request forgery
7.5
CVE-2026-23833
ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component
