CVE-2026-41066: Lxml

High severity, CVSS 7.5. EPSS: 0.3% chance of exploitation in the next 30 days.

lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.

Affected products

  • Lxml Lxml: before 6.1.0 (fixed in 6.1.0)

Published 2026-04-24. Last modified 2026-06-17.