Advisory record · GHSA-xw6w-gcfp-cf8m

Django REST framework: TokenProxy.delete() reports success and revokes nothing

CVSS 7.4 HighEPSS 0.0051 · 43rd percentile

Published by the GitHub Advisory Database at 22 Oct 2026, 16:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
djangorestframeworkPyPI>=3.12.0, <3.18.23.18.2
Identifiers
GHSA-xw6w-gcfp-cf8m · CVE-2026-114137
Weakness (CWE)
CWE-390 · CWE-613
Published
22 Oct 2026
Updated
22 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Django REST framework versions 3.12.0 up to 3.18.2 are affected. Calling delete() on a TokenProxy instance reports success but removes no database row, so the token keeps authenticating. An attacker needs no special access; the risk arises when operators or scripts revoke credentials through TokenProxy, which leaves tokens live. Upgrade to djangorestframework 3.18.2, which fixes the issue. Until then, revoke tokens through the concrete Token model or the admin delete path, and check that prior revocations took effect.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.4 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0051, the 43rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.