Okta Java SDK CVE-2025-67505
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app using ApiClient status in authz
-
DeliveryDrive concurrent SDK requests
-
ExploitWin response cross-contamination race
-
ExecutionRead wrong status/header
-
ImpactBypass access-control decision
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Not remotely exploitable against a default deployment. Exploitation requires all of: (1) a consuming application built on Okta Java Management SDK versions 11.0.0 through 20.0.0; (2) that application invoking ApiClient concurrently from multiple threads; and (3) the application using the HTTP response status code (or a response header) from ApiClient in an access-control or authorization decision. The bug is a timing-dependent race (CWE-362), so it does not reliably trigger and cannot be forced deterministically by an external attacker. Applications that are single-threaded, or that do not base security decisions on ApiClient response status/headers, are not meaningfully affected even while running a vulnerable version. Fixed by upgrading to 20.0.1 (per NVD/package metadata; GHSA text says 21.0.0+ - verify). |
| Impact | This is a high-CVSS (8.4) flaw whose real-world priority is considerably lower than the number suggests. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L) yields a high score largely through the scope change (S:C) and C:H/I:H impacts, but those impacts are entirely conditional: the GHSA advisory states you are affected ONLY if you build a multithreaded application using ApiClient AND use the response status code in access-control flows. It is not a directly attacker-controlled memory-corruption or RCE bug - it is a concurrency defect (CWE-362) where a |
| Exploit ScenarioDerived | A Java application uses the Okta SDK ApiClient across multiple threads and makes authorization decisions based on the HTTP status code returned (e.g., treating 200 as authorized and 403 as denied). Under concurrent load, a race condition causes a successful request's 200 status to be observed in place of another request's 403, silently bypassing an access-control check. No public proof-of-concept exists, and the timing-dependent nature (AC:H) makes deterministic exploitation difficult. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Okta Java SDK versions 11.0.0 through 20.0.0 allow concurrent ApiClient requests to cross-contaminate response status codes and headers, which can undermine access-control decisions in multithreaded applications. This is a timing-dependent race condition (CWE-362) that is not remotely exploitable against default deployments; exploitation requires an application that invokes ApiClient concurrently and bases authorization on its response status or headers. No public exploit or active exploitation has been identified, and EPSS is low at 0.21%, but a vendor patch is available in version 20.0.1 (GHSA text says 21.0.0+).
RemediationAI
Upgrade the Okta Java Management SDK to version 20.0.1 or later (the GHSA also references 21.0.0+ as a fix; confirm the appropriate version for your dependency manager). The patch, available from the vendor, adds synchronization to the ApiClient.invokeAPI method to prevent cross-request contamination. If an immediate upgrade is not feasible, avoid sharing a single ApiClient instance across multiple threads in security-sensitive paths, or wrap all ApiClient calls with external synchronization (e.g., using a lock) to serialize access-though this can degrade performance and is error-prone. Additionally, review applications to ensure they do not base access-control decisions solely on HTTP response status codes or headers from ApiClient unless those values are isolated per request. Consult the advisory at https://github.com/okta/okta-sdk-java/security/advisories/GHSA-j5gq-897m-2rff and the fix commit at https://github.com/okta/okta-sdk-java/commit/abf4f128a0441f90cb7efcdcf4bde1aef8703243 for details.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Okta Java Management SDK (okta-sdk-java) is a Java library for interacting with Okta's management API. Its ApiClient class handles HTTP requests, and in versions 11.0.0 through 20.0.0 (CPE cpe:2.3:a:okta:java_management_sdk:*:*:*:*:*:*:*:*) the invokeAPI method lacked proper synchronization. This introduced a race condition classified as CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization), where concurrent threads could interleave such that one request's response status code or header is read from shared mutable state by another request. The root cause is unsynchronized access to shared response state within ApiClient. The vendor fixed this by adding the synchronized keyword to invokeAPI in commit abf4f128, serializing access. The flaw is timing-dependent and only manifests when an application uses a single ApiClient instance across multiple threads and makes security decisions based on the returned status or headers.
Know when Java Management Sdk 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
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
AC:H because winning the concurrency race is unreliable and not directly attacker-forced; C/I/A lowered to L because impact only materializes conditionally in specific consuming-app authz patterns; S:C as the SDK defect affects the hosting application's decisions.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
Okta Java Management SDK facilitates interactions with the Okta management API. In versions 11.0.0 through 20.0.0, race conditions may arise from concurrent requests using the ApiClient class. This could cause a status code or response header from one request’s response to influence another request’s response. This issue is fixed in version 20.0.1.
Executive ViewAI
Okta Java SDK versions 11.0.0 through 20.0.0 introduce a high-severity concurrency flaw that can cause affected Java applications to make incorrect authorization decisions when handling simultaneous ApiClient requests. The risk is concentrated in custom multithreaded implementations that rely on SDK response status codes or headers for access control, not in default Okta deployments, and no public exploit identified at time of analysis. Because a vendor fix is available, leadership should prioritize identifying and upgrading affected business-critical and customer-facing services to prevent potential unauthorized access or compliance exposure.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB