Skip to main content
VulnerabilityPublished

CVE-2026-41066: lxml · XML External Entity (XXE)

Affects lxmlSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 6.1.0 soon.

Data as of 12 Nov 2026, 01:32 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 6.1.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.

What to do

Upgrade lxml to 6.1.0.

Affected software

ProductAffectedFixed in
lxml lxmlAffected
  • <6.1.0
Fixed in
  • 6.1.0

AI-suggested

Upgrade to lxml version 6.1.0 or later, where the vulnerability is fixed. Alternatively, explicitly configure the XML parser to set resolve_entities='internal' or resolve_entities=False to disable external entity resolution and prevent local file access. No other mitigation is required once patched or configured accordingly.

Description

A vulnerability in the lxml Python library prior to version 6.1.0 allows untrusted XML input to read local files when using the default parser configuration with resolve_entities=True. This improper restriction of XML external entity references (CWE-611) can lead to local file disclosure. The issue is fixed in version 6.1.0 by changing the default behavior or allowing explicit configuration to disable external entity resolution.

References

Community reviews

Loading reviews…