cve.bz

CVE-2026-114137 encode django-rest-framework: Insufficient Session Expiration

7.4 highEPSS 0.5%Fix available

High (7.4) in encode django-rest-framework. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in djangorestframework 3.18.2.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-390 Detection of Error Condition Without Action
CWE-613 Insufficient Session Expiration deprecated by MITRE see CWE-1463, CWE-1464
OWASP Top 10
A07:2025 Authentication Failures, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-114137 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-114137?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-114137?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-114137 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
encode django-rest-framework>= 3.12.0, < 3.18.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xw6w-gcfp-cf8mPyPIdjangorestframework>=3.12.0 <3.18.23.18.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13djangorestframeworkno fix listedDEBIAN-CVE-2026-114137
Debian14djangorestframework3.18.3+ds1-1DEBIAN-CVE-2026-114137
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moredjangorestframeworkno fix listedUBUNTU-CVE-2026-114137
openSUSETumbleweedpython-djangorestframework3.18.2-1.1openSUSE-SU-2026:12277-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has rated this vulnerability as having an Important severity because incomplete credential invalidation directly compromises API authorization boundaries, allowing decommissioned or compromised credentials to maintain persistent remote access across exposed endpoints. Within Red Hat environments like Ansible Automation Platform and Satellite, backend services depend on API tokens for routine orchestration and integration workflows. While built-in administration interfaces that bypass proxy-based deletion remain unaffected, automated workflows and external tooling attempting credential revocation silently fail to purge access, leaving tokens valid indefinitely.

ProductPackageStateAdvisory
Red Hat Discovery 2discovery/discovery-server-rhel9:1793734080Fixed 2026-11-04RHSA-2026:94802
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/controller-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/eda-controller-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/controller-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/eda-controller-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/gateway-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/hub-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/lightspeed-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/metrics-service-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform/automation-dashboard-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-tech-preview/metrics-service-rhel9Affected
Red Hat Ansible Automation Platform 2automation-controllerAffected
Red Hat Ansible Automation Platform 2python3.11-djangorestframeworkNot affected
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-114137.

References

Check your stackJSON