Ubuntu CVE Tracker
UBUNTU-CVE-2026-41066
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | lxml | All versions before 3.3.3-1ubuntu0.2+esm6 (fixed in 3.3.3-1ubuntu0.2+esm6) |
| Ubuntu:Pro:16.04:LTS | lxml | All versions before 3.5.0-1ubuntu0.4+esm3 (fixed in 3.5.0-1ubuntu0.4+esm3) |
| Ubuntu:Pro:18.04:LTS | lxml | All versions before 4.2.1-1ubuntu0.6+esm1 (fixed in 4.2.1-1ubuntu0.6+esm1) |
| Ubuntu:Pro:20.04:LTS | lxml | All versions before 4.5.0-1ubuntu0.5+esm1 (fixed in 4.5.0-1ubuntu0.5+esm1) |
| Ubuntu:22.04:LTS | lxml | All versions before 4.8.0-1ubuntu0.1 (fixed in 4.8.0-1ubuntu0.1) |
| Ubuntu:24.04:LTS | lxml | All versions before 5.2.1-1ubuntu0.2 (fixed in 5.2.1-1ubuntu0.2) |
| Ubuntu:25.10 | lxml | All versions, no fix listed |
| Ubuntu:26.04:LTS | lxml | All versions before 6.0.2-1ubuntu0.1 (fixed in 6.0.2-1ubuntu0.1) |