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 resolveentities=True) allows untrusted XML input to read local files. Setting the resolveentities option explicitly to resolveentities='internal' or resolveentities=False disables the local file access. This vulnerability is fixed in 6.1.0.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41066.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-611"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.1.0"
},
{
"introduced": "0"
},
{
"fixed": "6.1.0"
}
],
"cpe": "cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*",
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}