XML External Entity (XXE) Injection Affecting python3.13-lxml-debuginfo package, versions <0:5.3.2-3.amzn2023.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.33% (28th 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-AMZN2023-PYTHON313LXMLDEBUGINFO-16710372
  • published16 May 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 Amazon-Linux:2023 python3.13-lxml-debuginfo to version 0:5.3.2-3.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2026-1679.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.13-lxml-debuginfo package and not the python3.13-lxml-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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