{"id":"CVE-2026-41066","published":"2026-04-24T16:45:19Z","modified":"2026-04-24T18:04:04Z","title":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","vendor":"lxml","product":"lxml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00425,"percentile":0.28473,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.launchpad.net/lxml/+bug/2146291","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":5.69},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"lxml","affectedVersions":[{"vendor":"lxml","product":"lxml","versions":["< 6.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-24T18:03:40.722204Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lxml","vulnerableRanges":["<6.1.0"],"patched":["6.1.0"],"from":["GHSA-vfmq-68hx-4jfw","PYSEC-2026-87"],"provenance":"source"}],"summary":{"text":"The lxml Python XML/HTML processing library has an XML external entity (XXE) flaw in the iterparse() and ETCompatXMLParser() parsers when used in their default configuration (resolve_entities=True) in versions before 6.1.0. An attacker who can supply untrusted XML input to an affected parser, with no authentication or user interaction required, can read local files on the system, and this is avoided by explicitly setting resolve_entities to 'internal' or False.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:29Z"},"euvd":{"id":"EUVD-2026-25572","exploited":false,"provenance":"source"}}