XML External Entity (XXE) Injection Affecting python-lxml package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (13th 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 Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-PYTHONLXML-16322957
  • published30 Apr 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

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

How to fix?

There is no fixed version for Centos:7 python-lxml.

NVD Description

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