CVE-2026-41066

lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files

HIGH
7.5
CVSS Score
Published: April 24, 2026 at 04:45 PM UTC
Updated: June 17, 2026 at 10:46 AM UTC
1 product affected across 1 vendorLxml

Using lxml by lxml?

Get instant alerts when new vulnerabilities affect lxml - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.0
Affected range stops below 6.1.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw
x_refsource_MISCExploitIssue TrackingThird Party Advisory
Source: cverecord
https://bugs.launchpad.net/lxml/+bug/2146291

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-611

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card