CVE-2026-71259 ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution
HighCVSS 8.6
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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).
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| esphome | <= 2026.7.0 | after 2026.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| esphome | <= 2026.7.0 | No fix listed |
References
- github.com third-party-advisory
- github.com third-party-advisory
- ENISA EUVD EUVD-2026-53344 third-party-advisory