Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| esphome / esphome | affected 0 through 2026.7.0 |
CWE
CWE-184
References
- https://github.com/esphome/esphome
- https://github.com/esphome/esphome/blob/dev/esphome/config_validation.py
ADP enrichment
No English description supplied.
No references supplied.