PatchSiren cyber security CVE debrief
CVE-2026-41066 lxml CVE debrief
CVE-2026-41066 is a high-severity vulnerability in the lxml library for processing XML and HTML in Python. The vulnerability allows untrusted XML input to read local files when using the default configuration. This issue is fixed in version 6.1.0. Defenders should assess exposure and prioritize upgrading to prevent potential unauthorized local file access. The vulnerability is caused by the resolve_entities option being set to True by default, which allows external entities to be resolved. This can lead to security issues if the input is not properly sanitized. Affected systems should be reviewed and updated to version 6.1.0 or later.
- Vendor
- lxml
- Product
- Unknown
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-24
- Original CVE updated
- 2026-11-11
- Advisory published
- 2026-04-24
- Advisory updated
- 2026-11-11
Who should care
Defenders responsible for Python applications using the lxml library should assess exposure and prioritize upgrading to version 6.1.0 or later. This includes reviewing and updating configurations to ensure resolve_entities is set to 'internal' or False. Additionally, defenders should monitor for potential exploitation attempts and review compensating controls for exposed systems.
Why it matters
CVE-2026-41066 is a high-severity vulnerability in the lxml library that allows untrusted XML input to read local files. Defenders should prioritize upgrading to version 6.1.0 or later to prevent potential unauthorized local file access.
- Potential unauthorized local file access via untrusted XML input
- Need to verify and update lxml versions to 6.1.0 or later
- Possible impact on data confidentiality and integrity
Technical summary
The lxml library for processing XML and HTML in Python has a vulnerability prior to version 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. The vulnerability is caused by the resolve_entities option being set to True by default, which allows external entities to be resolved. This can lead to security issues if the input is not properly sanitized.
Defensive priority
Defenders should prioritize upgrading to lxml version 6.1.0 or later to prevent local file access via untrusted XML input.
Recommended defensive actions
- Upgrade to lxml version 6.1.0 or later
- Review and update configurations to ensure resolve_entities is set to 'internal' or False
- Monitor for potential exploitation attempts
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version. The lxml library is widely used in Python applications for processing XML and HTML. The vulnerability has a high severity score and defenders should prioritize upgrading to version 6.1.0 or later. The CVE record was published on 2026-04-24T17:16:20.933Z and has not been modified since then. The NVD entry provides additional information on the vulnerability and its potential impact.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-41066 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-41066
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-41066 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-41066
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://bugs.launchpad.net/lxml/+bug/2146291
[email protected] - Exploit, Issue Tracking, Third Party Advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw
[email protected] - Mitigation, Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.