Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec

CVE-2026-71259ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution

High 8.6

In plain English

A high-severity security flaw in esphome from esphome. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.2%top 93.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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).

Affected products (as reported)

VendorProductVersions
esphome esphome 0 – through 2026.7.0

Weakness: CWE-184 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References