{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-41066","id":"CVE-2026-41066","title":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","description":"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.","descriptionLong":"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","updated":"2026-11-13T02:31:02.511417527Z","reserved":"2026-04-16T16:43:03.174Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["lxml"],"affectedProducts":[{"vendor":"lxml","product":"lxml","defaultStatus":null,"versions":[{"version":"< 6.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"lxml","purl":"pkg:pypi/lxml","ranges":["<6.1.0"],"fixed":["6.1.0"],"advisory":"GHSA-vfmq-68hx-4jfw"}],"cwes":["CWE-611"],"aliases":["GHSA-vfmq-68hx-4jfw","PYSEC-2026-87"],"references":[{"url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://bugs.launchpad.net/lxml/+bug/2146291","tags":["x_refsource_MISC","Exploit","Issue Tracking","Third Party Advisory","web","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41066.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066","tags":["advisory"]},{"url":"https://github.com/lxml/lxml","tags":["package"]},{"url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.0","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00324,"epssPercentile":0.26046,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-41066","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-41066","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vfmq-68hx-4jfw","ok":true,"note":"GHSA-vfmq-68hx-4jfw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-41066","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}