workos is vulnerable to Sensitive Information Disclosure
65
Medium Risk
The SDK reuses pooled keep-alive HTTP connections across requests within a single process. When an application-level timeout or thread interruption aborts a request after the socket has been used but before a response is returned, the SDK leaves the half-used connection in the pool instead of discarding it. A subsequent request that picks up that connection can then read a response belonging to the earlier interrupted request, delivering one user's authentication data to a different user in the same process. The fix wraps each request so that any exit other than a returned response removes and closes the cached connection before it can be reused.
You are affected if you are using a version that falls within the vulnerable range and your application times out SDK calls.
workos is vulnerable to Sensitive Information Disclosure in versions 7.0.0 - 7.1.2, 8.0.0 - 8.0.1, 9.0.0 - 9.5.0 and 10.0.0 - 10.2.0.
Upgrade the workos library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant