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

- Severity: High 8.6 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-08-05T12:26:07.879Z
- Modified: 2026-08-26T17:13:24.800Z
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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).

(As written by CVE List.)

## Affected

- esphome esphome: up to 2026.7.0

## References

- <https://github.com/esphome/esphome> (third-party-advisory)
- <https://github.com/esphome/esphome/blob/dev/esphome/config_validation.py> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-71259](https://www.cve.org/CVERecord?id=CVE-2026-71259), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71259](https://nvd.nist.gov/vuln/detail/CVE-2026-71259), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2026-71259 · Whole record: https://cve.day/CVE-2026-71259.json · Rebuilt by cve.day 2026-11-25T22:59:31.100Z
