CVE-2026-41066: lxml · XML External Entity (XXE)
Affects lxmlSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 6.1.0 soon.
Data as of 12 Nov 2026, 01:32 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.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:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| lxml lxml | Affected
| Fixed in
|
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.