Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-41066

lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

lxml lxml

  • < 6.1.0affected

References