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

- 種別: advisory
- 重大度: high
- 関連技術: python, django
- CVE: CVE-2026-114137
- 公開日時: 2026-10-22T16:18:05.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-xw6w-gcfp-cf8m)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-xw6w-gcfp-cf8m

影響: pip:djangorestframework >= 3.12.0, < 3.18.2 → 3.18.2
Deleting an authentication token through TokenProxy silently deletes nothing. The call raises no exception and reports success, the database row survives, and the token keeps authenticating. Any application, admin integration or operational script that revokes credentials by calling .delete() on a TokenProxy instance believes it has revoked a token that is still live. Details TokenProxy overrides pk to return the user id (rest_framework/authtoken/models.py:49-63): python @property def pk(self):…