High severity7.5NVD Advisory· Published Apr 24, 2026· Updated Apr 27, 2026
CVE-2026-41066
CVE-2026-41066
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
lxmlPyPI | < 6.1.0 | 6.1.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- bugs.launchpad.net/lxml/+bug/2146291nvdExploitIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-vfmq-68hx-4jfwghsaADVISORY
- github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfwnvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-41066ghsaADVISORY
- github.com/lxml/lxml/releases/tag/lxml-6.1.0ghsaWEB
News mentions
0No linked articles in our index yet.