CVE-2026-41066
published high CVSS 3.1 · 7.5lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lxml | — | lxml< 6.1.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3297 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1678 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1679 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | lxml | Advisory build | 4.9.2-1+deb12u1 | DLA-4799-1 |
| Ubuntu | bionic | lxml | Advisory build | 4.2.1-1ubuntu0.6+esm1 | USN-8897-1 |
| Alpine Linux | edge | py3-lxml | Fixed | 6.1.0-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | python-lxmlx86_64 | Advisory build | 3.6.1-8.8.1 | SUSE-SU-2026:2728-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | python-lxmlaarch64 | Listed in advisory | Not stated | ALAS2-2026-3297 |
| Ubuntu | focal | lxml | Advisory build | 4.5.0-1ubuntu0.5+esm1 | USN-8897-1 |
| Ubuntu | jammy | lxml | Advisory build | 4.8.0-1ubuntu0.1 | USN-8897-1 |
| Ubuntu | noble | lxml | Advisory build | 5.2.1-1ubuntu0.2 | USN-8897-1 |
| Ubuntu | resolute | lxml | Advisory build | 6.0.2-1ubuntu0.1 | USN-8897-1 |
| Ubuntu | trusty | lxml | Advisory build | 3.3.3-1ubuntu0.2+esm6 | USN-8897-1 |
| Ubuntu | xenial | lxml | Advisory build | 3.5.0-1ubuntu0.4+esm3 | USN-8897-1 |
| Alpine Linux | v3.24 | py3-lxml | Fixed | 6.1.0-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | python3-lxmlx86_64 | Advisory build | 3.6.1-3.9.1 | SUSE-SU-2026:2752-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxmlaarch64 | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxmlppc64le | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxmls390x | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxmlx86_64 | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxml-develaarch64 | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxml-develppc64le | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxml-devels390x | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-lxml-develx86_64 | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-lxmlaarch64 | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-lxmlppc64le | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-lxmls390x | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-lxmlx86_64 | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-16 | python-lxml-docnoarch | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxmlaarch64 | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxmlppc64le | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxmls390x | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxmlx86_64 | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxml-develaarch64 | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxml-develppc64le | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxml-devels390x | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-16 | python313-lxml-develx86_64 | Advisory build | 5.4.0-160000.3.1 | SUSE-SU-2026:21603-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-lxmlaarch64 | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-lxmlppc64le | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-lxmls390x | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-lxmlx86_64 | Advisory build | 4.9.3-150400.8.11.1 | SUSE-SU-2026:2729-1 |
| SUSE / openSUSE | SLE-5 | python3-lxmlaarch64 | Advisory build | 4.7.1-150200.3.15.1 | SUSE-SU-2026:2488-1 |
| SUSE / openSUSE | SLE-5 | python3-lxmlaarch64 | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-5 | python3-lxmlppc64le | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-5 | python3-lxmls390x | Advisory build | 4.7.1-150200.3.15.1 | SUSE-SU-2026:2488-1 |
| SUSE / openSUSE | SLE-5 | python3-lxmls390x | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | SLE-5 | python3-lxmlx86_64 | Advisory build | 4.7.1-150200.3.15.1 | SUSE-SU-2026:2488-1 |
| SUSE / openSUSE | SLE-5 | python3-lxmlx86_64 | Advisory build | 4.9.1-150500.3.7.1 | SUSE-SU-2026:2754-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python-lxml-docnoarch | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxmlaarch64 | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxmlppc64le | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxmls390x | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxmlx86_64 | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxml-develaarch64 | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxml-develppc64le | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxml-devels390x | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-lxml-develx86_64 | Advisory build | 5.4.0-160000.3.1 | OPENSUSE-SU-2026:20737-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-lxml-docaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-lxml-docppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-lxml-docs390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-lxml-docx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxmlaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxmlppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxmls390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxmlx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml-develaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml-develppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml-devels390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-lxml-develx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxmlaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxmlppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxmls390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxmlx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml-develaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml-develppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml-devels390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lxml-develx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxmlaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxmlppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxmls390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxmlx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxml-develaarch64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxml-develppc64le | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxml-devels390x | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lxml-develx86_64 | Advisory build | 6.1.0-1.1 | OPENSUSE-SU-2026:10596-1 |
| Ubuntu | bionic | python-lxml | Advisory build | 4.2.1-1ubuntu0.6+esm1 | USN-8897-1 |
| Ubuntu | bionic | python3-lxml | Advisory build | 4.2.1-1ubuntu0.6+esm1 | USN-8897-1 |
| Ubuntu | focal | python-lxml | Advisory build | 4.5.0-1ubuntu0.5+esm1 | USN-8897-1 |
| Ubuntu | focal | python3-lxml | Advisory build | 4.5.0-1ubuntu0.5+esm1 | USN-8897-1 |
| Ubuntu | jammy | python3-lxml | Advisory build | 4.8.0-1ubuntu0.1 | USN-8897-1 |
| Ubuntu | noble | python3-lxml | Advisory build | 5.2.1-1ubuntu0.2 | USN-8897-1 |
| Ubuntu | resolute | python3-lxml | Advisory build | 6.0.2-1ubuntu0.1 | USN-8897-1 |
| Ubuntu | trusty | python-lxml | Advisory build | 3.3.3-1ubuntu0.2+esm6 | USN-8897-1 |
| Ubuntu | trusty | python3-lxml | Advisory build | 3.3.3-1ubuntu0.2+esm6 | USN-8897-1 |
| Ubuntu | xenial | python-lxml | Advisory build | 3.5.0-1ubuntu0.4+esm3 | USN-8897-1 |
| Ubuntu | xenial | python3-lxml | Advisory build | 3.5.0-1ubuntu0.4+esm3 | USN-8897-1 |
| Amazon Linux | AL2 | python-lxmli686 | Listed in advisory | Not stated | ALAS2-2026-3297 |
| Amazon Linux | AL2 | python-lxmlnoarch | Listed in advisory | Not stated | ALAS2-2026-3297 |
| Amazon Linux | AL2 | python-lxmlsrc | Listed in advisory | Not stated | ALAS2-2026-3297 |
| Amazon Linux | AL2 | python-lxmlx86_64 | Listed in advisory | Not stated | ALAS2-2026-3297 |
| Amazon Linux | AL2023 | python-lxmlaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1678 |
| Amazon Linux | AL2023 | python-lxmlsrc | Listed in advisory | Not stated | ALAS2023-2026-1678 |
| Amazon Linux | AL2023 | python-lxmlx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1678 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lxml | lxml | < 6.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
References
2Provider assertions
2GitHub_M · cna
lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 57095ebc5f529d009183bd3bf69d9638675070ae9939aaf7d1722253f0fc4859
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record