{"id":"CVE-2026-41066","state":"PUBLISHED","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.","publishedAt":"2026-04-24T16:45:19.617Z","updatedAt":"2026-04-24T18:04:04.548Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["lxml lxml"],"affected":[{"vendor":"lxml","product":"lxml","versions":[{"version":"< 6.1.0","status":"affected"}]}],"references":["https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw","https://bugs.launchpad.net/lxml/+bug/2146291"],"weaknesses":["CWE-611"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41066.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41066","state":"PUBLISHED","datePublished":"2026-04-24T16:45:19.617Z","dateUpdated":"2026-04-24T18:04:04.548Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-16T16:43:03.174Z"},"containers":{"cna":{"title":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"lxml","product":"lxml","versions":[{"version":"< 6.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw","name":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.launchpad.net/lxml/+bug/2146291","name":"https://bugs.launchpad.net/lxml/+bug/2146291","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-611","lang":"en","description":"CWE-611: Improper Restriction of XML External Entity Reference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-24T16:45:19.617Z"},"source":{"advisory":"GHSA-vfmq-68hx-4jfw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-24T18:03:40.722204Z","id":"CVE-2026-41066","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-24T18:04:04.548Z"}}]}}}