CVE-2026-71259: ESPHome through 2026.7.0-dev contains an operator-precedence bug in the cv.url() validator in esphome/config_validation.py: if parsed.scheme and
Affects esphomeSource GCVE Database
Not known to be exploited · CVSS 8.6 High.
Data as of 3 Nov 2026, 22:58 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubesphome/esphomepkg:github/esphome/esphomeOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted or unauthenticated YAML configurations containing external_components directives with URLs. Restrict access to configuration files and limit who can run ESPHome commands that process YAML configurations to trusted users only.
Description
ESPHome versions through 2026.7.0-dev contain an operator-precedence bug in the cv.url() validator function. This bug causes file:// URIs to bypass proper validation, allowing an attacker to specify a local file path in the external_components YAML directive. When processed, this can lead to cloning attacker-controlled local repositories and executing arbitrary Python code during configuration processing.