{"id":"CVE-2026-41066","aliases":["GHSA-vfmq-68hx-4jfw","PYSEC-2026-87"],"url":"https://o3.security/vulnerability/CVE-2026-41066","summary":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","details":"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.","published":"2026-04-24T16:45:19.617Z","modified":"2026-07-15T01:48:57.301796245Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"lxml","fixedVersion":"6.1.0"}],"fix":null,"references":[{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/2146291"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41066.json"},{"type":"ADVISORY","url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:57.301796245Z"}}