← Back to search

CVE-2026-71259

8.6 HIGHpublic exploit available

Published 2026-08-05 · Updated 2026-08-10

AI risk analysis

Summary
The flaw allows any file: URI to pass validation due to an operator-precedence bug, enabling unauthorized access to local files.
Exploitability
Exploitation is relatively easy as it requires only crafting a specific file: URI without netloc, but the attacker must have write permissions to create or modify configuration files.
Blast radius
If exploited, this could lead to data exfiltration, code execution, or other unauthorized actions on local systems.
Prioritized remediation
Update to the latest version of ESPHome (2026.7.1 or later) which includes a fix for this issue.
rcefile-inclusionconfig-validationlocal-privilege-escalation

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Weaknesses

CWE-184

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.