Skip to main content
VulnerabilityPublished Updated

CVE-2026-41066: lxml · Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files

Affects translate-toolkitSource GCVE Database

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

Not known to be exploited · CVSS 7.5 High · fixed in 3.19.6 : patch translate-toolkit soon.

Data as of 2 Dec 2026, 23:18 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 3.19.6, 3.11.0, 1.13.0 +1
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 2 Dec 2026.

What to do

Upgrade translate-toolkit to 3.19.6, 3.11.0 or 1.13.0; lxml to 6.1.0.

Affected software

ProductAffectedFixed in
Homebrewtranslate-toolkitpkg:brew/translate-toolkitOther threatsAffected
  • >=1.12.0 <1.13.0
  • >=3.2.0_1 <3.11.0
  • >=3.12.2 <3.19.6
Fixed in
  • 1.13.0
  • 3.11.0
  • 3.19.6
PyPIlxmlpkg:pypi/lxmlOther threatsAffected
  • <6.1.0
Fixed in
  • 6.1.0

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

AI-suggested

A patch is available in lxml version 6.1.0 and later, which changes the default resolve_entities setting to 'internal' for all parsers, disabling local file access by default. Users should upgrade to lxml 6.1.0 or later to remediate this vulnerability. Alternatively, explicitly configuring the resolve_entities option to 'internal' or false in affected versions disables the vulnerable behavior. No other actions are required if the patch is applied or the workaround is implemented.

Description

A vulnerability in lxml's iterparse() and ETCompatXMLParser() functions allows XML External Entity (XXE) attacks that can read local files when using default parser configurations with resolve_entities set to true. This issue affects certain versions of the translate-toolkit product. The vulnerability is addressed in lxml version 6.1.0 by changing the default resolve_entities setting to 'internal', which disables local file access by default. Users can also mitigate the risk by explicitly setting resolve_entities to 'internal' or false.

References

Community reviews

Loading reviews…