Skip to main content
← All vulnerabilities
CVE-2026-41066PYSEC-2026-87GHSA-VFMQ-68HX-4JFW

lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • lxml lxml

    fixed in 6.1.0

  • lxmlPyPI

    fixed in 6.1.0

References 2

GitHub · lxml/lxml

bugs.launchpad.net