Intel

AIKIDO-2026-626049

workos is vulnerable to Sensitive Information Disclosure

Sensitive Information DisclosureGHSA-5f2v-v68c-f6v4 Published 3 days ago

65

Medium Risk

This Affects:

RUBYworkos
7.0.0 - 7.1.2
Fixed in 7.1.3
8.0.0 - 8.0.1
Fixed in 8.0.2
9.0.0 - 9.5.0
Fixed in 9.5.1
10.0.0 - 10.2.0
Fixed in 10.2.1
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application times out SDK calls.

Background info

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.

How to fix this

Upgrade the workos library to the patch version.