CVE-2026-32887 Details
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.
A vulnerability exists in the Effect TypeScript framework, specifically in versions through 3.19.15, when used with Next.js App Router. The issue arises in the RPC server handling, where the Node.js AsyncLocalStorage context can be improperly shared between concurrent requests. This flaw allows an Effect fiber to access another request's context or none at all, leading to critical authentication errors. For instance, the auth() function from @clerk/nextjs/server may return a session for a different user under production traffic. The root cause lies in Effect's MixedScheduler, which batches and executes fiber continuations in a way that mismanages the AsyncLocalStorage context, especially during concurrent loads.
Users can work around this vulnerability by capturing AsyncLocalStorage-dependent values before entering the Effect runtime and passing them through Effect's context system. For example, extract the user ID from the request headers using the auth() function before processing the request with Effect, and then inject this information into the Effect context or request headers for use within the Effect handlers.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Effect-TS/effect/security/advisories/GHSA-38f7-945m-qr2g | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| effectful effect | < 3.20.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2026 | Initial Analysis | [email protected] |
| Mar 20, 2026 | New CVE Received | [email protected] |