UBUNTU-CVE-2026-21860

Source
https://ubuntu.com/security/CVE-2026-21860
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-21860.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-21860
Upstream
Withdrawn
2026-01-14T18:31:56Z
Published
2026-01-09T00:00:00Z
Modified
2026-01-14T21:53:55.758731Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing spaces. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. Windows still accepts them with any file extension, such as CON.txt, or trailing spaces such as CON. This issue has been patched in version 3.1.5.

References

Affected packages

Ubuntu:20.04:LTS
python-werkzeug

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug@0.16.1+dfsg1-2ubuntu0.2?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*
0.14.1+dfsg1-4
0.15.6+dfsg1-1
0.16.0+dfsg1-1
0.16.1+dfsg1-1ubuntu1
0.16.1+dfsg1-2
0.16.1+dfsg1-2ubuntu0.1
0.16.1+dfsg1-2ubuntu0.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.16.1+dfsg1-2ubuntu0.2",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Database specific

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

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug@2.0.2+dfsg1-1ubuntu0.22.04.3?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.0.1+dfsg1-2
2.*
2.0.2+dfsg1-1
2.0.2+dfsg1-1ubuntu0.22.04.1
2.0.2+dfsg1-1ubuntu0.22.04.2
2.0.2+dfsg1-1ubuntu0.22.04.3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.0.2+dfsg1-1ubuntu0.22.04.3",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Database specific

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

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug@3.0.1-3ubuntu0.2?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*
2.2.2-3
3.*
3.0.1-1
3.0.1-2
3.0.1-3
3.0.1-3ubuntu0.1
3.0.1-3ubuntu0.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.0.1-3ubuntu0.2",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-21860.json"
Ubuntu:25.04
python-werkzeug

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug@3.1.3-2?arch=source&distro=plucky

Affected ranges

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

Affected versions

3.*
3.0.3-1
3.0.4-1ubuntu1
3.1.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.3-2",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Database specific

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

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug@3.1.3-2?arch=source&distro=questing

Affected ranges

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

Affected versions

3.*
3.1.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.3-2",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Database specific

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

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug@0.10.4+dfsg1-1ubuntu1.2+esm2?arch=source&distro=esm-infra/xenial

Affected ranges

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

Affected versions

0.*
0.10.4+dfsg1-1ubuntu1
0.10.4+dfsg1-1ubuntu1.1
0.10.4+dfsg1-1ubuntu1.2
0.10.4+dfsg1-1ubuntu1.2+esm1
0.10.4+dfsg1-1ubuntu1.2+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.10.4+dfsg1-1ubuntu1.2+esm2",
            "binary_name": "python-werkzeug"
        },
        {
            "binary_version": "0.10.4+dfsg1-1ubuntu1.2+esm2",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-21860.json"
Ubuntu:Pro:18.04:LTS
python-werkzeug

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug@0.14.1+dfsg1-1ubuntu0.2+esm1?arch=source&distro=esm-infra/bionic

Affected ranges

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

Affected versions

0.*
0.12.2+dfsg1-2
0.13+dfsg1-1
0.14.1+dfsg1-1
0.14.1+dfsg1-1ubuntu0.1
0.14.1+dfsg1-1ubuntu0.2
0.14.1+dfsg1-1ubuntu0.2+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.14.1+dfsg1-1ubuntu0.2+esm1",
            "binary_name": "python-werkzeug"
        },
        {
            "binary_version": "0.14.1+dfsg1-1ubuntu0.2+esm1",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Database specific

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