CVEvulnerability
CVE-2026-41066
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-611
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 configurations
• lxml lxml (< 6.1.0)
Related
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness
References
- 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