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)
- Debian/lxmlfrom 0
- PyPI/lxmlfrom 0, < 6.1.0
- PyPI/lxmlfrom 0, < 6.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-41066
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-41066
- PATCHhttps://github.com/lxml/lxml
- WEBhttps://bugs.launchpad.net/lxml/+bug/2146291
- WEBhttps://github.com/lxml/lxml/releases/tag/lxml-6.1.0
- WEBhttps://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw