CVE-2026-41066

HIGH7.5EPSS 0.04%

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

Published: 4/21/2026Modified: 4/28/2026
Also known as:DEBIAN-CVE-2026-41066

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 packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References (6)