CVE-2026-41066

CVE-2026-41066 is a high-severity vulnerability in Lxml with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-611.

Key facts

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.

Frequently asked questions

What is CVE-2026-41066?
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.
How severe is CVE-2026-41066?
CVE-2026-41066 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2026-41066 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (24th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-41066?
CVE-2026-41066 affects Lxml. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-41066?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2026-41066 have an EU (EUVD) identifier?
Yes. CVE-2026-41066 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-25572.
When was CVE-2026-41066 published?
CVE-2026-41066 was published on 2026-04-24 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Lxml

All CVEs affecting Lxml →

Other CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities

Browse all CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities →