{"id":"DHI-gdl5-fpqj-ywqk-i2n6","summary":"Django REST framework is a toolkit for building Web APIs. From 3.12.0 until 3.18.2, TokenProxy.delete() in…","details":"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.","modified":"2026-11-21T14:30:56.259232446Z","published":"2026-11-12T02:06:28Z","upstream":["CVE-2026-114137"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-gdl5-fpqj-ywqk-i2n6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114137"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-114137"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xw6w-gcfp-cf8m"},{"type":"ADVISORY","url":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-xw6w-gcfp-cf8m"},{"type":"FIX","url":"https://github.com/encode/django-rest-framework/commit/af3fabfd517307fbc5d500fba1ab8f6e25f220b0"},{"type":"WEB","url":"https://github.com/encode/django-rest-framework/releases/tag/3.18.2"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-114137"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2026-114137"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-114137"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-114137"}],"affected":[{"package":{"name":"codecov-api","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/codecov-api"},"versions":["26.11.16-r0","26.11.16-r1","26.9.10-r0","26.9.10-r1","26.9.10-r10","26.9.10-r11","26.9.10-r12","26.9.10-r13","26.9.10-r14","26.9.10-r15","26.9.10-r16","26.9.10-r17","26.9.10-r18","26.9.10-r19","26.9.10-r2","26.9.10-r20","26.9.10-r21","26.9.10-r3","26.9.10-r4","26.9.10-r5","26.9.10-r6","26.9.10-r7","26.9.10-r8","26.9.10-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gdl5-fpqj-ywqk-i2n6.json"}},{"package":{"name":"codecov-api","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/codecov-api"},"versions":["26.11.16-0","26.11.16-1","26.9.10-0","26.9.10-1","26.9.10-10","26.9.10-11","26.9.10-12","26.9.10-13","26.9.10-14","26.9.10-15","26.9.10-16","26.9.10-17","26.9.10-18","26.9.10-19","26.9.10-2","26.9.10-20","26.9.10-21","26.9.10-3","26.9.10-4","26.9.10-5","26.9.10-6","26.9.10-7","26.9.10-8","26.9.10-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gdl5-fpqj-ywqk-i2n6.json"}},{"package":{"name":"netbox","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/netbox"},"versions":["4.6.10-0","4.6.10-1","4.6.7-0","4.6.8-0","4.6.8-1","4.6.8-2","4.6.8-3","4.6.9-0","4.6.9-1","4.6.9-2","4.7.1-0","4.7.1-1","4.7.1-2","4.7.1-3","4.7.1-4","4.7.1-5","4.7.1-6","4.7.2-0","4.7.2-1","4.7.2-2","4.7.2-3","4.7.2-4","4.7.3-0","4.7.3-1","4.7.3-2","4.7.3-3","4.7.3-4","4.7.4-0","4.7.4-1","4.7.4-2","4.7.4-3","4.7.4-4","4.7.4-5","4.7.4-6","4.7.5-0","4.7.5-1","4.7.5-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-gdl5-fpqj-ywqk-i2n6.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}