{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-114137","id":"CVE-2026-114137","title":"Django REST framework: TokenProxy.delete() reports success and revokes nothing","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 operationa","descriptionLong":"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.","published":"2026-10-21T20:06:57.790Z","updated":"2026-10-28T02:30:34.682547824Z","reserved":"2026-10-20T21:53:58.473Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["encode django-rest-framework"],"affectedProducts":[{"vendor":"encode","product":"django-rest-framework","defaultStatus":null,"versions":[{"version":">= 3.12.0, < 3.18.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"djangorestframework","purl":"pkg:pypi/djangorestframework","ranges":[">=3.12.0 <3.18.2"],"fixed":["3.18.2"],"advisory":"GHSA-xw6w-gcfp-cf8m"}],"cwes":["CWE-390","CWE-613"],"aliases":["GHSA-xw6w-gcfp-cf8m"],"references":[{"url":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-xw6w-gcfp-cf8m","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/encode/django-rest-framework/commit/af3fabfd517307fbc5d500fba1ab8f6e25f220b0","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/encode/django-rest-framework/releases/tag/3.18.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114137.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114137","tags":["advisory"]},{"url":"https://github.com/encode/django-rest-framework","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00512,"epssPercentile":0.44564,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-114137","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114137","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-114137","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xw6w-gcfp-cf8m","ok":true,"note":"GHSA-xw6w-gcfp-cf8m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-114137","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}