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.
References
| Link | Resource |
|---|---|
| https://bugs.launchpad.net/lxml/+bug/2146291 | Exploit Issue Tracking Third Party Advisory |
| https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw | Mitigation Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-04-24 17:16
Updated : 2026-06-17 10:46
NVD link : CVE-2026-41066
Mitre link : CVE-2026-41066
CVE.ORG link : CVE-2026-41066
JSON object : View
Products Affected
lxml
- lxml
CWE
CWE-611
Improper Restriction of XML External Entity Reference
