CVE-2026-71259
ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution
- State
- Published
- Severity
- 8.6 High
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 2026
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.6 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | TuranSec |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
esphomeesphome |
|
References
- https://github.com/esphome/esphomethird-party-advisory
- https://github.com/esphome/esphome/blob/dev/esphome/config_validation.pythird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.