CVE-2026-114137
published high CVSS 3.1 · 7.4Django REST framework: TokenProxy.delete() reports success and revokes nothing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| encode | — | django-rest-framework>= 3.12.0, < 3.18.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworkaarch64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworkppc64le | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworks390x | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-djangorestframeworkx86_64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworkaarch64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworkppc64le | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworks390x | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-djangorestframeworkx86_64 | Advisory build | 3.18.2-1.1 | OPENSUSE-SU-2026:12277-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| encode | django-rest-framework | >= 3.12.0, < 3.18.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-390 CWE-390: Detection of Error Condition Without Action
- CWE-613 CWE-613: Insufficient Session Expiration
References
3Provider assertions
2GitHub_M · cna
Django REST framework: TokenProxy.delete() reports success and revokes nothing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18bcf69c88a34452657e7ec08a8621140db930cbd0d484b89021c39fb2f77720
- Ingested
- 23 Oct 2026, 15:15:17 UTC
- Source record
- Official CVE record