Live threats

All CVEs / Lxml

CVE-2026-41066Lxml

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Apr 24, 2026
Updated
Nov 11, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lxml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI lxml < 6.1.0 6.1.0 pip install "lxml>=6.1.0"
PyPI lxml < 6.1.0 6.1.0 pip install "lxml>=6.1.0"

Per OSV / GitHub Advisories (GHSA-vfmq-68hx-4jfw, PYSEC-2026-87). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lxmllxml< 6.1.0

Official advisories

Also: SUSE (+10)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.