CVE 7.5 HIGH

lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files_CVE-2026-41066

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Basic Information

ID CVE-2026-41066
Source GitHub_M
Published Apr 24, 2026 at 16:45
Modified Apr 24, 2026 at 18:04

Affected Product

Vendor lxml
Product lxml
Version < 6.1.0
Affected Versions lxml lxml < 6.1.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.