CVE-2026-71259
published high CVSS 3.1 · 8.6ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| esphome | — | esphome0 through 2026.7.0 · Other versions: unaffected | Affected | Not stated | TuranSec |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- TuranSec · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| esphome | esphome | 0 through 2026.7.0 (affected · semver)Default: unaffected | TuranSec · cna |
Weaknesses
1- CWE-184
References
2Provider assertions
2TuranSec · cna
ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9717bf24a377df3bd07590b17ab8ed381a61010e21fed178cf0270cd7dca7919
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record