{"cve":"CVE-2026-114137","nvd":{"published":"2026-10-21T21:17:56.057","modified":"2026-10-23T15:17:25.650","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4},"cwes":["CWE-390","CWE-613"],"references":["https://github.com/encode/django-rest-framework/commit/af3fabfd517307fbc5d500fba1ab8f6e25f220b0","https://github.com/encode/django-rest-framework/releases/tag/3.18.2","https://github.com/encode/django-rest-framework/security/advisories/GHSA-xw6w-gcfp-cf8m"],"products":[],"source":"nvd","synced_at":"2026-10-23T16:39:28.036610720+00:00"},"epss":{"cve":"CVE-2026-114137","score":0.00474,"percentile":0.4067,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-xw6w-gcfp-cf8m","url":"https://osv.dev/vulnerability/GHSA-xw6w-gcfp-cf8m","summary":"Django REST framework: TokenProxy.delete() reports success and revokes nothing","modified":"2026-10-22T16:30:41.596167286Z","packages":[{"ecosystem":"PyPI","name":"djangorestframework","purl":"pkg:pypi/djangorestframework","ranges":[">=3.12.0 <3.18.2"],"fixed":["3.18.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}