XML External Entity (XXE) Injection Affecting lxml package, versions <6.1.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.32% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LXML-16242353
  • published25 Apr 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

CVE-2026-41066  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Debian:unstable lxml to version 6.1.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lxml package and not the lxml package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1