CVE catalog

CVE-2026-114137

djangorestframework: CVE-2026-114137

[CVE catalog]

Severity
High · CVSS 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.47% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandjangorestframeworksid3.18.3+ds1-1fixed
Debiandjangorestframeworkforky3.18.3+ds1-1fixed
Debiandjangorestframeworktrixie3.16.0-1vulnerable
Debiandjangorestframeworkbookworm3.14.0-2+deb12u1vulnerable
Ubuntudjangorestframework16.042.4.3-2vulnerable
Ubuntudjangorestframework16.043.3.1-1vulnerable
Ubuntudjangorestframework16.043.3.2-1vulnerable
Ubuntudjangorestframework16.043.3.2-2vulnerable
Ubuntudjangorestframework18.043.4.0-2vulnerable
Ubuntudjangorestframework18.043.7.7-1vulnerable
Ubuntudjangorestframework20.043.9.0-2vulnerable
Ubuntudjangorestframework20.043.10.2-1vulnerable
Ubuntudjangorestframework22.043.12.1-1vulnerable
Ubuntudjangorestframework22.043.12.4-1vulnerable
Ubuntudjangorestframework22.043.12.4-2vulnerable
Ubuntudjangorestframework22.043.12.4-2ubuntu1vulnerable
Ubuntudjangorestframework22.043.12.4-2.1ubuntu1vulnerable
Ubuntudjangorestframework24.043.14.0-2vulnerable
Ubuntudjangorestframework26.103.16.1-3vulnerable
Ubuntudjangorestframework26.103.16.1-4vulnerable
Ubuntudjangorestframework26.103.17.1+ds1-1vulnerable
Ubuntudjangorestframework26.043.16.1-1vulnerable
Ubuntudjangorestframework26.043.16.1-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandjangorestframeworksourcesid3.18.3+ds1-1not yet assignedNot reportedNot reported
Debiandjangorestframeworksourceforky3.18.3+ds1-1not yet assignedNot reportedNot reported
Debiandjangorestframeworksourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiandjangorestframeworksourcebookworm(unfixed)not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [djangorestframework]

    Details (2)
    • 3.14.0-2+deb12u1 · all · bookworm

      Affected

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

    • 3.14.0-2+deb12u1 · all · bookworm

      Affected

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

  • Source package: [djangorestframework]

    Details (2)
    • 3.14.0-2+deb12u1 · all · bookworm

      Affected

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

    • 3.14.0-2+deb12u1 · all · bookworm

      Affected

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

[Debian 13 (Trixie)]

Observed:

References