Skip to content

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

HighCVSS 7.4 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

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.

Upgrade path

23 packages: 3 fixed, 19 with no fix yet.

PackageAffectedFixed inStatus
debian/djangorestframework(Debian 12) = 3.14.0-2; = 3.14.0-2+deb12u1; = 3.15.1-1; = 3.15.1-2 +11 more No fix listed No fix yet
debian/djangorestframework(Debian 13) = 3.16.0-1; = 3.16.1-1; = 3.16.1-3; = 3.16.1-4 +5 more No fix listed No fix yet
redhat/ansible-automation-platform-24/controller-rhel8(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform-26/eda-controller-rhel9:1794363568(Red Hat ansible_automation_platform 2.6 el9) All versions No fix listed No fix yet
redhat/ansible-automation-platform-26/hub-rhel9(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform-27/eda-controller-rhel9:1794560971(Red Hat ansible_automation_platform 2.7 el9) All versions No fix listed No fix yet
redhat/ansible-automation-platform-27/hub-rhel9(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform-27/metrics-service-rhel9(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform-tech-preview/metrics-service-rhel9(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/automation-controller(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/discovery/discovery-server-rhel9:1793734080(Red Hat discovery 2 el9) All versions No fix listed No fix yet
redhat/python-djangorestframework(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/python3.12-djangorestframework(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/satellite/iop-advisor-backend-rhel9:1793757716(Red Hat satellite 6.18 el9) All versions No fix listed No fix yet
redhat/satellite/iop-advisor-backend-rhel9:1793758586(Red Hat satellite 6.19 el9) All versions No fix listed No fix yet
ubuntu/djangorestframework(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/djangorestframework(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/djangorestframework(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/djangorestframework(Ubuntu 26.10) All versions No fix listed No fix yet
debian/djangorestframework(Debian 14) < 3.18.3+ds1-1; = 3.16.0-1; = 3.16.1-1; = 3.16.1-3 +4 more 3.18.3+ds1-1 Fixed
pypi djangorestframework(PyPI) = 3.12.0; = 3.12.1; = 3.12.2; = 3.12.3 +15 more 3.18.2 Fixed
redhat/python3.12-djangorestframework(Red Hat ansible_automation_platform 2.6 el9) < 3.18.3-1.el9ap 3.18.3-1.el9ap Fixed
encode django-rest-framework = >= 3.12.0, < 3.18.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
encode django-rest-framework = >= 3.12.0, < 3.18.2 No fix listed
pypi djangorestframework(PyPI) >= 3.12.0, < 3.18.2 3.18.2
pypi djangorestframework(PyPI) = 3.12.0 No fix listed
pypi djangorestframework(PyPI) = 3.12.1 No fix listed
pypi djangorestframework(PyPI) = 3.12.2 No fix listed
pypi djangorestframework(PyPI) = 3.12.3 No fix listed
pypi djangorestframework(PyPI) = 3.12.4 No fix listed
pypi djangorestframework(PyPI) = 3.13.0 No fix listed
pypi djangorestframework(PyPI) = 3.13.1 No fix listed
pypi djangorestframework(PyPI) = 3.14.0 No fix listed
pypi djangorestframework(PyPI) = 3.15.0 No fix listed
pypi djangorestframework(PyPI) = 3.15.1 No fix listed
pypi djangorestframework(PyPI) = 3.15.2 No fix listed
pypi djangorestframework(PyPI) = 3.16.0 No fix listed
pypi djangorestframework(PyPI) = 3.16.1 No fix listed
pypi djangorestframework(PyPI) = 3.17.0 No fix listed
pypi djangorestframework(PyPI) = 3.17.1 No fix listed
pypi djangorestframework(PyPI) = 3.17.2 No fix listed
pypi djangorestframework(PyPI) = 3.18.0 No fix listed
pypi djangorestframework(PyPI) = 3.18.1 No fix listed
debian/djangorestframework(Debian:12) All versions No fix listed
debian/djangorestframework(Debian:12) = 3.14.0-2 No fix listed
debian/djangorestframework(Debian:12) = 3.14.0-2+deb12u1 No fix listed
debian/djangorestframework(Debian:12) = 3.15.1-1 No fix listed
debian/djangorestframework(Debian:12) = 3.15.1-2 No fix listed
Show 45 more
ProductAffected versionsFixed in
debian/djangorestframework(Debian:12) = 3.15.2-1 No fix listed
debian/djangorestframework(Debian:12) = 3.15.2-2 No fix listed
debian/djangorestframework(Debian:12) = 3.16.0-1 No fix listed
debian/djangorestframework(Debian:12) = 3.16.1-1 No fix listed
debian/djangorestframework(Debian:12) = 3.16.1-3 No fix listed
debian/djangorestframework(Debian:12) = 3.16.1-4 No fix listed
debian/djangorestframework(Debian:12) = 3.17.1+ds1-1 No fix listed
debian/djangorestframework(Debian:12) = 3.17.1-1 No fix listed
debian/djangorestframework(Debian:12) = 3.18.1+ds1-1 No fix listed
debian/djangorestframework(Debian:12) = 3.18.3+ds1-1 No fix listed
debian/djangorestframework(Debian:13) All versions No fix listed
debian/djangorestframework(Debian:13) = 3.16.0-1 No fix listed
debian/djangorestframework(Debian:13) = 3.16.1-1 No fix listed
debian/djangorestframework(Debian:13) = 3.16.1-3 No fix listed
debian/djangorestframework(Debian:13) = 3.16.1-4 No fix listed
debian/djangorestframework(Debian:13) = 3.17.1+ds1-1 No fix listed
debian/djangorestframework(Debian:13) = 3.17.1-1 No fix listed
debian/djangorestframework(Debian:13) = 3.18.1+ds1-1 No fix listed
debian/djangorestframework(Debian:13) = 3.18.3+ds1-1 No fix listed
debian/djangorestframework(Debian:14) < 3.18.3+ds1-1 3.18.3+ds1-1
debian/djangorestframework(Debian:14) = 3.16.0-1 No fix listed
debian/djangorestframework(Debian:14) = 3.16.1-1 No fix listed
debian/djangorestframework(Debian:14) = 3.16.1-3 No fix listed
debian/djangorestframework(Debian:14) = 3.16.1-4 No fix listed
debian/djangorestframework(Debian:14) = 3.17.1+ds1-1 No fix listed
debian/djangorestframework(Debian:14) = 3.17.1-1 No fix listed
debian/djangorestframework(Debian:14) = 3.18.1+ds1-1 No fix listed
ubuntu/djangorestframework(Ubuntu:22.04) All versions No fix listed
ubuntu/djangorestframework(Ubuntu:24.04) All versions No fix listed
ubuntu/djangorestframework(Ubuntu:26.04) All versions No fix listed
ubuntu/djangorestframework(Ubuntu:26.10) All versions No fix listed
redhat/python3.12-djangorestframework(Red Hat:ansible_automation_platform:2.6::el9) < 3.18.3-1.el9ap 3.18.3-1.el9ap
redhat/ansible-automation-platform-26/eda-controller-rhel9:1794363568(Red Hat:ansible_automation_platform:2.6::el9) All versions No fix listed
redhat/ansible-automation-platform-27/eda-controller-rhel9:1794560971(Red Hat:ansible_automation_platform:2.7::el9) All versions No fix listed
redhat/discovery/discovery-server-rhel9:1793734080(Red Hat:discovery:2::el9) All versions No fix listed
redhat/satellite/iop-advisor-backend-rhel9:1793757716(Red Hat:satellite:6.18::el9) All versions No fix listed
redhat/satellite/iop-advisor-backend-rhel9:1793758586(Red Hat:satellite:6.19::el9) All versions No fix listed
redhat/ansible-automation-platform-24/controller-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-26/hub-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-27/hub-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-27/metrics-service-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-tech-preview/metrics-service-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/automation-controller(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/python3.12-djangorestframework(Red Hat:satellite:6) All versions No fix listed
redhat/python-djangorestframework(Red Hat:satellite:6) All versions No fix listed

References