Skip to main content
CVE-2026-41066VulnerabilityPublished Updated

Lxml: Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows

Affects lxmlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41066· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 3.3.3-1ubuntu0.2+esm6 : patch lxml soon.

Data as of 24 Nov 2026, 21:15 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
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.3.3-1ubuntu0.2+esm6, 3.5.0-1ubuntu0.4+esm3, 4.2.1-1ubuntu0.6+esm1 +4
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 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlxmlpkg:deb/ubuntu/lxml?arch=source&distro=resoluteOther threatsAffected
  • <6.0.2-1ubuntu0.1
Fixed in
  • 6.0.2-1ubuntu0.1
Ubuntu 25.10lxmlpkg:deb/ubuntu/lxml?arch=source&distro=questingOther threatsAffected
  • 5.3.2-1 – 6.0.1-1
4 affected builds
Fixed in–
Ubuntu 24.04 LTSlxmlpkg:deb/ubuntu/lxml?arch=source&distro=nobleOther threatsAffected
  • <5.2.1-1ubuntu0.2
Fixed in
  • 5.2.1-1ubuntu0.2
Ubuntu 22.04 LTSlxmlpkg:deb/ubuntu/lxml?arch=source&distro=jammyOther threatsAffected
  • <4.8.0-1ubuntu0.1
Fixed in
  • 4.8.0-1ubuntu0.1
Ubuntu Pro 20.04 LTSlxmlpkg:deb/ubuntu/lxml?arch=source&distro=esm-infra/focalOther threatsAffected
  • <4.5.0-1ubuntu0.5+esm1
Fixed in
  • 4.5.0-1ubuntu0.5+esm1
Ubuntu Pro 18.04 LTSlxmlpkg:deb/ubuntu/lxml?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <4.2.1-1ubuntu0.6+esm1
Fixed in
  • 4.2.1-1ubuntu0.6+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…