Executive brief
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.
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
Timeline
- 2025-12-10: disclosed: Advisory published
- 2025-12-10: patched: Fix released in version 20.0.1