Improper Restriction of XML External Entity Reference in lxml
CVE-2026-41066
- lxml
Summary
Using either of the two parsers in the default configuration (with `resolve_entities=True`) allows untrusted XML input to read local files. This affects lxml prior to 6.1.0.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- HIGH
- NONE
CWE-611 - Improper Restriction of XML External Entity Reference
Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.
References
Advisory Timeline
- Published