Skip to main content

Django OAuth Toolkit EUVDEUVD-2026-45417

| CVE-2026-16206 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-07-19 VulDB GHSA-j4j7-8j5c-5hxw
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain expired OAuth2 ID token
  2. Delivery
    Submit token to OIDC-protected endpoint
  3. Exploit
    _load_id_token skips expiration validation
  4. Execution
    Session accepted as active
  5. Impact
    Access protected resources beyond authorized window

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires the attacker to possess a previously issued OAuth2 ID token (expired or current) for the target application - this aligns with PR:L in the CVSS 4.0 vector. The application must be using django-oauth-toolkit 3.3.0 and must exercise the _load_id_token function as part of its OIDC or token validation flow; deployments that do not use ID token validation are not affected. Exploitation is limited to the confidentiality, integrity, and availability impacts scoped to the vulnerable system (SC:N/SI:N/SA:N), with no lateral movement or scope escalation. Deployments that implement independent server-side session revocation or token blacklisting - separate from the library's expiration check - effectively mitigate the risk, as the expired token would be rejected before reaching the vulnerable function.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) characterizes this as a medium-severity, low-complexity, remotely exploitable flaw requiring low privileges - consistent with an attacker possessing an expired but still-accepted OAuth ID token. The low CIA impact ratings (VC:L/VI:L/VA:L) reflect that exploitation does not yield full compromise but rather inappropriate continuation of session access beyond the intended authorization window. No EPSS data was provided, and the vulnerability has no CISA KEV listing and no public proof-of-concept, making it no public exploit identified at time of analysis. The vendor has not yet responded to the disclosure, increasing uncertainty around patch timelines. The primary real-world risk is session hijacking or unauthorized persistent access in OAuth2/OIDC deployments where token expiration is the primary session boundary control. Organizations relying on short-lived ID tokens as a security boundary (e.g., for revocation or logout enforcement) face elevated risk compared to those with additional session controls layered above OAuth.

Exploit ScenarioDerived

An attacker who previously obtained a valid OAuth2 ID token - either legitimately or through token theft - retains use of that token after its intended expiration by submitting it to an endpoint that calls _load_id_token. Because expiration is not properly enforced, the function accepts the expired token as valid, granting the attacker continued access to protected resources or user context beyond the authorized session period. No public proof-of-concept is known at time of analysis, but the low attack complexity (AC:L) means exploitation requires minimal effort once a token is in hand.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 19, 2026

Insufficient session expiration in django-oauth-toolkit 3.3.0 allows authenticated network attackers to exploit the _load_id_token function in oauth2_provider/oauth2_validators.py, bypassing token expiration enforcement and maintaining access beyond their authorized session lifetime. The CVSS 4.0 score of 5.3 with PR:L confirms exploitation requires low-privilege access (a valid or expired token), and impacts confidentiality, integrity, and availability at a low level. No public exploit or active exploitation has been confirmed; the issue was submitted via a GitHub issue report and the project has not yet issued a response or patch.

RemediationAI

No vendor-released patch has been identified at time of analysis - the project has not responded to the GitHub issue report at https://github.com/django-oauth/django-oauth-toolkit/issues/1715. As a compensating control, operators should enforce token expiration validation at the application or middleware layer independently of the library's _load_id_token function, for example by explicitly checking the exp JWT claim before accepting any ID token. Disabling or restricting OIDC ID token flows where not strictly necessary reduces attack surface. Implementing short token lifetimes (e.g., 5-15 minutes) at the authorization server level limits the exploitation window even when expiration is not enforced on the validation side. Organizations should monitor the upstream GitHub repository and VulDB entry at https://vuldb.com/cve/CVE-2026-16206 for patch availability. Side effect of middleware-level expiration checks: may break legitimate token refresh flows if refresh logic depends on the library's own expiration handling.

Affected VersionsENISA

django-oauth-toolkit 3.3.0

Affected Packages

euvd django_oauth_toolkit no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Django OAuth Toolkit is a Python library that adds OAuth2 provider capabilities to Django applications, implementing OpenID Connect (OIDC) flows including ID token issuance and validation. The affected function _load_id_token in oauth2_provider/oauth2_validators.py is responsible for loading and validating OIDC ID tokens during authentication or token introspection. CWE-613 (Insufficient Session Expiration) indicates the root cause is a failure to properly validate or enforce token expiration timestamps (the exp claim in JWT-based ID tokens), potentially allowing an expired ID token to be accepted as valid. The affected CPE is cpe:2.3:a:django-oauth:django-oauth-toolkit:*:*:*:*:*:*:*:*, with the reporter specifying version 3.3.0 as the confirmed vulnerable release. The * wildcard in the NVD CPE suggests the full affected version range has not yet been independently bounded.

Know when Django Oauth Toolkit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Network-exploitable with low complexity; PR:L because a token is required; no availability impact from session expiration bypass.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A security vulnerability has been detected in django-oauth django-oauth-toolkit 3.3.0. This issue affects the function _load_id_token of the file oauth2_provider/oauth2_validators.py. The manipulation leads to session expiration. The attack can be initiated remotely. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
Medium
popular Django OAuth2 provider library, used across Django-based web apps
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy