CVE-2026-71259
8.6high
ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution
- Severity
- 8.6high CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| esphome esphome | up to 2026.7.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://github.com/esphome/esphome | third-party-advisory | |
| https://github.com/esphome/esphome/blob/dev/esphome/config_validation.py | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-71259 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-71259 changed 2026-08-26 | Public domain |