Skip to main content

Okta Java SDK CVE-2025-67505

HIGH
Race Condition (CWE-362)
2025-12-10 security-advisories@github.com
8.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Identify app using ApiClient status in authz
  2. Delivery
    Drive concurrent SDK requests
  3. Exploit
    Win response cross-contamination race
  4. Execution
    Read wrong status/header
  5. Impact
    Bypass 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 synchronized keyword was missing on invokeAPI, letting one request's status code or header bleed into another's response. Supporting signals point to low urgency: EPSS is 0.21% (10th percentile), there is no CISA KEV listing, and no public exploit code is referenced. AC:H is appropriate because reliably winning a timing race is difficult, and an external attacker cannot straightforwardly force the race - it depends on the victim application's threading and how it interprets SDK responses. The C:H/I:H ratings are arguably overstated for a client SDK whose worst-case is a mis-read authorization status in a specific coding pattern. Net: patchable, low exploitation probability, no active exploitation - a routine dependency-upgrade priority rather than an emergency.

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

maven com.okta.sdk:okta-sdk-root fix: 20.0.1

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

Vendor (github) PRIMARY 8.4 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
vuln.today AI 6.0 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche server-side Okta Java integration SDK, narrow affected coding pattern
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Medium

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

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).

Affected Products (CPE)CVE.org

cpe:2.3:a:okta:java_management_sdk:*:*:*:*:*:*:*:*

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