# CVE-2025-67505: Okta Java SDK race condition in ApiClient

Source: https://junglewise.ai/threats/cve-2025-67505-okta-java-sdk-race-condition-in-apiclient  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-10. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2025-67505 · Severity: high · CVSS 8.4 · Published 2025-12-10

The Okta Java SDK is a library used by developers to integrate with Okta's identity and access management platform. A race condition in the ApiClient class can allow response status codes and headers from one concurrent request to be incorrectly attributed to another request, which could be exploited to bypass access control checks in multithreaded applications.

Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [Okta](https://junglewise.ai/threats/vendors/okta).

## Quick answers

**Is CVE-2025-67505 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-67505 being exploited in the wild.

**How severe is CVE-2025-67505?** High severity, with a CVSS score of 8.4, published 10 December 2025.

**Which products and versions are affected?** com.okta.sdk:okta-sdk-root (Maven) >= 11.0.0, <= 20.0.0, ECOSYSTEM:introduced=11.0.0,fixed=20.0.1; Okta-Sdk-Java 11.0.0 through 20.0.0.

**Is there a fix for CVE-2025-67505?** Yes. com.okta.sdk:okta-sdk-root (Maven): upgrade to 20.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-67505 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-67505?** Check whether you run com.okta.sdk:okta-sdk-root (Maven), Okta Java Management Sdk or Okta-Sdk-Java at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.okta.sdk:okta-sdk-root (Maven): upgrade to 20.0.1 or later

  ```sh
  # set com.okta.sdk:okta-sdk-root to 20.0.1 in your pom.xml or build.gradle
  ```


## Technical details

This vulnerability is a race condition (CWE-362) in the ApiClient class of the Okta Java SDK, affecting versions 11.0.0 through 20.0.0. The root cause is improper synchronization when handling concurrent HTTP requests, allowing response metadata from one request to leak into another request's response object. An attacker requires low privileges and network access; the vulnerability manifests in multithreaded applications where HTTP status codes are used in access control decisions. By sending concurrent requests, an attacker could trigger a race condition to obtain an access-permitting response code from a different request context, effectively bypassing authorization checks. The patch is available in version 20.0.1 and later, with version 21.0.0 or greater recommended for upgrade.

## Affected products

- Okta okta-sdk-java 11.0.0 through 20.0.0

## Identifiers

- CVE-2025-67505
- GHSA-j5gq-897m-2rff

## Timeline

- 2025-12-10: disclosed: Advisory published
- 2025-12-10: patched: Fix released in version 20.0.1

## References

- [https://api.github.com/users/biochimia](https://api.github.com/users/biochimia)
- [https://github.com/biochimia](https://github.com/biochimia)
- [https://api.github.com/users/biochimia/gists%7B/gist_id%7D](https://api.github.com/users/biochimia/gists%7B/gist_id%7D)
- [https://api.github.com/users/biochimia/repos](https://api.github.com/users/biochimia/repos)
- [https://avatars.githubusercontent.com/u/1369?v=4](https://avatars.githubusercontent.com/u/1369?v=4)
- [https://api.github.com/users/biochimia/events%7B/privacy%7D](https://api.github.com/users/biochimia/events%7B/privacy%7D)

## Related threats

- [Improper Memory Cleanup in the Okta Java SDK](https://junglewise.ai/threats/cve-2025-66033-okta-java-management-sdk-facilitates-interactions-with-the-okta)
