UBUNTU-CVE-2026-41140

Source
https://ubuntu.com/security/CVE-2026-41140
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41140.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-41140
Upstream
Published
2026-04-24T18:16:00Z
Modified
2026-06-30T18:18:03Z
Severity
  • 0.6 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U CVSS Calculator
  • 8.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Poetry is a dependency manager for Python. Prior to 2.3.4, the extractall() function in src/poetry/utils/helpers.py:410-426 extracts sdist tarballs without path traversal protection on Python versions where tarfile.data_filter is unavailable. Considering only Python versions which are still supported by Poetry, these are 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4. This vulnerability is fixed in 2.3.4.

References

Affected packages

Ubuntu:22.04:LTS / poetry

Package

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

Affected ranges

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

Affected versions

1.*
1.1.11+dfsg-3
1.1.12+dfsg-1
1.1.12+dfsg-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-poetry",
            "binary_version": "1.1.12+dfsg-1ubuntu1"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / poetry

Package

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

Affected ranges

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

Affected versions

1.*
1.6.1+dfsg-2
1.7.1+dfsg-1
1.8.2+dfsg-1ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-poetry",
            "binary_version": "1.8.2+dfsg-1ubuntu2"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / poetry

Package

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

Affected ranges

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

Affected versions

2.*
2.1.1+dfsg-3
2.1.2+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-poetry",
            "binary_version": "2.1.2+dfsg-1"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / poetry

Package

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

Affected ranges

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

Affected versions

2.*
2.1.2+dfsg-1
2.3.2+dfsg-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-poetry",
            "binary_version": "2.3.2+dfsg-3"
        }
    ]
}

Database specific

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