ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71259
- 2026-10-03 Alias added: GHSA-2g7j-rv69-9w67
References
More esphome vulnerabilities
- TI-2024-17944 ESPHome remote code execution via arbitrary file write CVSS 3.1HIGH 8.8
- TI-2025-35691 ESP-IDF web_server basic auth bypass using empty or incomplete Authorization header CVSS 3.1HIGH 8.1
- TI-2024-19201 ESPHome vulnerable to Authentication bypass via Cross site request forgery CVSS 3.1HIGH 8.1
- TI-2026-42331 ESPHome Device Builder: Renamed auth env vars silently disable dashboard authentication on upgrade CVSS 3.1CRITICAL 9.8
- TI-2026-19197 ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component CVSS 4.0LOW 1.7
- TI-2026-81983 ESPHome Device Builder ingress site skips authentication on LAN CVSS 3.1HIGH 8.8
Sources
- CVE-2026-71259 · CVE Program
- CVE-2026-71259 · NVD
- FIRST EPSS
- GHSA-2g7j-rv69-9w67 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences