UBUNTU-CVE-2026-114137

Source
https://ubuntu.com/security/CVE-2026-114137
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114137.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-114137
Upstream
Published
2026-10-21T21:17:00Z
Modified
2026-10-28T20:17:45Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Django REST framework is a toolkit for building Web APIs. From 3.12.0 until 3.18.2, TokenProxy.delete() in rest_framework/authtoken/models.py uses the proxy's user-id pk while the concrete Token token-string primary key identifies rows, so Django issues a deletion query that matches no row and reports zero deletions without raising an error. Applications, administrative integrations, or operational scripts that revoke credentials through a TokenProxy instance can therefore believe revocation succeeded while the token remains live and continues authenticating. DRF's own TokenAdmin.delete_model workaround is not affected, but other callers can leave access available indefinitely because DRF tokens do not expire automatically. This issue is fixed in version 3.18.2.

References

Affected packages

Ubuntu:16.04:LTS
djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=xenial

Affected ranges

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

Affected versions

2.*
2.4.3-2
3.*
3.3.1-1
3.3.2-1
3.3.2-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-djangorestframework",
            "binary_version":  "3.3.2-2"
        },
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.3.2-2"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

3.*
3.4.0-2
3.7.7-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-djangorestframework",
            "binary_version":  "3.7.7-1"
        },
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.7.7-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

3.*
3.9.0-2
3.10.2-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.10.2-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

3.*
3.12.1-1
3.12.4-1
3.12.4-2
3.12.4-2ubuntu1
3.12.4-2.1ubuntu1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.12.4-2.1ubuntu1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

3.*
3.14.0-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.14.0-2"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

3.*
3.16.1-1
3.16.1-3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.16.1-3"
        }
    ]
}

Database specific

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

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=stonking

Affected ranges

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

Affected versions

3.*
3.16.1-3
3.16.1-4
3.17.1+ds1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.17.1+ds1-1"
        }
    ]
}

Database specific

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