CVE Catalog

CVE-2026-71259

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

ESPHome through 2026.7.0-dev contains an operator-precedence bug in the cv.url validator in esphome/config_validation.py. Because [operator] binds tighter than [operator], 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 [function] (git supports file:// natively).

Risk Assessment

Validation bug may allow unsafe file: URIs in external_components, potentially leading to malicious code execution or unauthorized file access.

Recommendation

Fix the cv.url validator logic to properly check netloc for file: URIs and reject unsafe addresses.

Other vulnerabilities in ESPHome

Original NVD description (English source)

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).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS