CVE-2026-32887 Effect Bug: `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC
HighCVSS 7.4
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Effect is a TypeScript framework that consists of several packages that work together to help build TypeScript applications. Prior to version 3.20.0, when using RpcServer.toWebHandler (or HttpApp.toWebHandlerRuntime) inside a Next.js App Router route handler, any Node.js AsyncLocalStorage-dependent API called from within an Effect fiber can read another concurrent request's context — or no context at all. Under production traffic, auth() from @clerk/nextjs/server returns a different user's session. Version 3.20.0 contains a fix for the issue.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| effectful effect | < 3.20.0 | 3.20.0 | Fixed |
| npm effect(npm) | < 3.20.0 | 3.20.0 | Fixed |
| Effect-TS effect | = < 3.20.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Effect-TS effect | = < 3.20.0 | No fix listed |
| npm effect(npm) | < 3.20.0 | 3.20.0 |
| effectful effect | < 3.20.0 | 3.20.0 |
References
- https://github.com/Effect-TS/effect/security/advisories/GHSA-38f7-945m-qr2g exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product