Security Resilience

CVE-2026-114137

encode django-rest-framework

Published
21 October 2026
Modified
23 October 2026
CVSS Score v3.1 7.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0051 44th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-114137 is a high-severity Detection of Error Condition Without Action (CWE-390) vulnerability in encode django-rest-framework (named in the CVE record; NVD lists no product yet). Its CVSS base score is 7.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-12 (Session Termination) and SA-11 (Developer Testing and Evaluation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1078.004 Cloud Accounts Stealth
Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1548.003 Sudo and Sudo Caching Privilege Escalation
Adversaries may perform sudo caching and/or use the sudoers file to elevate privileges.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1550.001 Application Access Token Lateral Movement
Adversaries may use stolen application access tokens to bypass the typical authentication process and access restricted accounts, information, or services on remote systems.
T1550.004 Web Session Cookie Lateral Movement
Adversaries can use stolen session cookies to authenticate to web applications and services.
T1584.006 Web Services Resource Development
Adversaries may compromise access to third-party web services that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-12796Shared CWE-613
CVE-2026-128030Shared CWE-613
CVE-2025-4407Shared CWE-613
CVE-2024-36523Shared CWE-613
CVE-2025-4677Shared CWE-613
CVE-2023-31139Shared CWE-613
CVE-2026-1842Shared CWE-613
CVE-2026-22706Shared CWE-613
CVE-2026-46401Shared CWE-613
CVE-2026-40939Shared CWE-613

Affected Assets

encode
django-rest-framework
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-12 directly requires automatic session termination after a defined period, structurally preventing reuse of expired session identifiers.

Developer testing and evaluation will surface code paths that detect errors yet perform no subsequent action.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

DE.AE-08 mostly match
blocks

Declaring incidents when criteria are met forces action on detected errors; eliminating the weakness helps but does not define the criteria themselves.

PR.AA-01 mostly match
blocks

Credential lifecycle management directly includes enforcing session expiration to prevent reuse.

PR.AA-05 mostly match
blocks

Authorization policy enforcement and review covers terminating stale sessions to limit access scope.

RS.MA-02 mostly match
blocks

Triaging and validating reports compels follow-up on detections; removing the weakness supports but does not replace triage processes.

DE.AE-02 partial match
blocks

Analysis of detected events directly counters ignoring them, but does not guarantee every error condition is covered.

DE.CM-09 partial match
blocks

Monitoring produces detections, yet supplies no requirement to act on them.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can uncover missing error handling, but does not ensure the weakness is eliminated in production code.

removes

A.8.5 items (k) and (l) directly mandate session termination after inactivity and connection duration restrictions, which are the primary mechanisms for session expiration and address the core of CWE-613; applying the clause to a system that lacked these removes the timeout-based weakness, but the CWE has been expanded to include logout invalidation and session fixation variations that A.8.5 does not reach, and non-configurable third-party products (the majority of observed CVE instances) cannot be remediated by this clause alone.

prevents

Training developers in secure coding practices and personal accountability for error handling reduces instances of empty catch/if blocks, but the effect is a minority one because the defect is subtle, fallible human practice is the mechanism, and code review/testing carry the stronger effect.

blocks

The user responsibility section's guidance to 'log-off active sessions and terminate services when no longer needed' is a user practice that, when followed, terminates sessions and prevents exploitation of those specific sessions, but it does not address the automatic session expiration logic in the application code where the weakness actually lives, and users do not always follow the practice.

finds

Monitoring activities can detect errors, yet without defined response procedures the weakness persists.

prevents

Secure coding standards typically require explicit error handling, reducing the likelihood of silent failures.

References