CVEfocus › CVE database › CVE-2026-41066

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

CVSS 7.5 HighEPSS 0.4% (higher than 28% of CVEs)Published 2026-04-24Updated 2026-04-24Assigner: GitHub_M

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.

CWE-611

What to do

Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
13Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04lxmlFixed6.0.2-1ubuntu0.1UBUNTU-CVE-2026-41066
Ubuntu 25.10lxmlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-41066
Ubuntu 24.04lxmlFixed5.2.1-1ubuntu0.2UBUNTU-CVE-2026-41066
Ubuntu 22.04lxmlFixed4.8.0-1ubuntu0.1UBUNTU-CVE-2026-41066
Ubuntu 20.04lxmlFix pending4.5.0-1ubuntu0.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-41066
Ubuntu 18.04lxmlFix pending4.2.1-1ubuntu0.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-41066
Ubuntu 16.04lxmlFix pending3.5.0-1ubuntu0.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-41066
Ubuntu 14.04lxmlFix pending3.3.3-1ubuntu0.2+esm6 (Ubuntu Pro)UBUNTU-CVE-2026-41066
Debian 14lxmlFixed6.1.0-1DEBIAN-CVE-2026-41066
Debian 13lxmlFix pendingDEBIAN-CVE-2026-41066
Debian 12lxmlFixed4.9.2-1+deb12u1DEBIAN-CVE-2026-41066
Red Hat Enterprise Linux 10python3-lxmlFix pending
Fix deferred
Red Hat Enterprise Linux 9python-lxmlFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-lxmlFix pending
Fix deferred
Red Hat Enterprise Linux 8python-lxmlFix pending
Fix deferred
Red Hat Enterprise Linux 8python3-lxmlFix pending
Fix deferred
Red Hat Enterprise Linux 7python-lxmlFix pending
Fix deferred
Red Hat Enterprise Linux 7python-lxml-docsFix pending
Fix deferred
Red Hat Enterprise Linux 6python-lxmlFix pending
Fix deferred
Alpine Linux 3.24py3-lxmlFixed6.1.0-r0ALPINE-CVE-2026-41066
PyPI librarylxmlFixed6.1.0PYSEC-2026-87

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.