Home

Description

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.

PUBLISHED Reserved 2026-04-16 | Published 2026-04-24 | Updated 2026-04-24 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-611: Improper Restriction of XML External Entity Reference

Product status

< 6.1.0
affected

References

github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw

bugs.launchpad.net/lxml/+bug/2146291

cve.org (CVE-2026-41066)

nvd.nist.gov (CVE-2026-41066)

Download JSON