CVE-2026-71259 HIGH

CVE-2026-71259: ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution

Vendor Esphome
Product esphome
Weakness CWE-184
Published August 5, 2026
Last update August 10, 2026

CVSS base score

8.6/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

August 5, 2026 CVE published
August 10, 2026 Record updated