Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. djangorestframework
  4. ›
  5. CVE-2026-114137

CVE-2026-114137: Django REST framework: TokenProxy.delete() reports success and revokes nothing

October 22, 2026

Deleting an authentication token through TokenProxy silently deletes nothing. The call raises no exception and reports success, the database row survives, and the token keeps authenticating. Any application, admin integration or operational script that revokes credentials by calling .delete() on a TokenProxy instance believes it has revoked a token that is still live.

References

  • github.com/advisories/GHSA-xw6w-gcfp-cf8m
  • github.com/encode/django-rest-framework/commit/af3fabfd517307fbc5d500fba1ab8f6e25f220b0
  • github.com/encode/django-rest-framework/releases/tag/3.18.2
  • github.com/encode/django-rest-framework/security/advisories/GHSA-xw6w-gcfp-cf8m
  • nvd.nist.gov/vuln/detail/CVE-2026-114137

Code Behaviors & Features

Detect and mitigate CVE-2026-114137 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.12.0 before 3.18.2

Fixed versions

  • 3.18.2

Solution

Upgrade to version 3.18.2 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-390: Detection of Error Condition Without Action
  • CWE-613: Insufficient Session Expiration

Source file

pypi/djangorestframework/CVE-2026-114137.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:33 +0000.