Skip to main content
VulnerabilityPublished

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

0
Compare

Not known to be exploited · CVSS 8.6 High.

Data as of 3 Nov 2026, 22:58 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubesphome/esphomepkg:github/esphome/esphomeOther threatsAffected
  • =2026.7.0-dev
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.

References

Community reviews

Loading reviews…