UBUNTU-CVE-2026-41066

Source
https://ubuntu.com/security/CVE-2026-41066
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-41066
Upstream
Published
2026-04-24T17:16:00Z
Modified
2026-05-20T16:12:58.817688683Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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 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.

References

Affected packages

Ubuntu:18.04:LTS
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.0.0-1
4.1.0-1
4.2.0-1
4.2.1-1
4.2.1-1ubuntu0.1
4.2.1-1ubuntu0.2
4.2.1-1ubuntu0.3
4.2.1-1ubuntu0.4
4.2.1-1ubuntu0.6

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-lxml",
            "binary_version": "4.2.1-1ubuntu0.6"
        },
        {
            "binary_name": "python3-lxml",
            "binary_version": "4.2.1-1ubuntu0.6"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"
Ubuntu:20.04:LTS
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.4.1-1
4.4.1-1build1
4.4.2-1
4.5.0-1
4.5.0-1ubuntu0.1
4.5.0-1ubuntu0.2
4.5.0-1ubuntu0.3
4.5.0-1ubuntu0.5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-lxml",
            "binary_version": "4.5.0-1ubuntu0.5"
        },
        {
            "binary_name": "python3-lxml",
            "binary_version": "4.5.0-1ubuntu0.5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"
Ubuntu:22.04:LTS
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.6.3+dfsg-0.1
4.6.4-1
4.6.4-1ubuntu1
4.7.1-1
4.8.0-1
4.8.0-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-lxml",
            "binary_version": "4.8.0-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"
Ubuntu:24.04:LTS
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.9.3-1
4.9.3-1build1
4.9.4-1
5.*
5.1.0-1
5.1.0-1build1
5.1.0-1build2
5.2.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-lxml",
            "binary_version": "5.2.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"
Ubuntu:25.10
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.3.2-1
5.4.0-1
5.4.0-1build1
6.*
6.0.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-lxml",
            "binary_version": "6.0.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"
Ubuntu:26.04:LTS
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.0.1-1
6.0.1-1build1
6.0.2-1
6.0.2-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-lxml",
            "binary_version": "6.0.2-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"
Ubuntu:Pro:14.04:LTS
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.2.0-1
3.3.0~beta2-1
3.3.0~beta4-1
3.3.1-1
3.3.2-1
3.3.2-1build1
3.3.3-1
3.3.3-1ubuntu0.1
3.3.3-1ubuntu0.2
3.3.3-1ubuntu0.2+esm1
3.3.3-1ubuntu0.2+esm2
3.3.3-1ubuntu0.2+esm3
3.3.3-1ubuntu0.2+esm5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-lxml",
            "binary_version": "3.3.3-1ubuntu0.2+esm5"
        },
        {
            "binary_name": "python3-lxml",
            "binary_version": "3.3.3-1ubuntu0.2+esm5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"
Ubuntu:Pro:16.04:LTS
lxml

Package

Name
lxml
Purl
pkg:deb/ubuntu/lxml?arch=source&distro=esm-infra%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.4.4-1
3.5.0-1
3.5.0-1build1
3.5.0-1ubuntu0.1
3.5.0-1ubuntu0.2
3.5.0-1ubuntu0.3
3.5.0-1ubuntu0.4
3.5.0-1ubuntu0.4+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python-lxml",
            "binary_version": "3.5.0-1ubuntu0.4+esm2"
        },
        {
            "binary_name": "python3-lxml",
            "binary_version": "3.5.0-1ubuntu0.4+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41066.json"