{"id":"CVE-2026-32887","published":"2026-03-20T21:35:05Z","modified":"2026-03-25T13:37:15Z","title":"Effect Bug: `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC","vendor":"Effect-TS","product":"effect","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00301,"percentile":0.23381,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/Effect-TS/effect/security/advisories/GHSA-38f7-945m-qr2g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":4.68},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"effect-ts","affectedVersions":[{"vendor":"Effect-TS","product":"effect","versions":["< 3.20.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-25T13:36:39.114796Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"effect","vulnerableRanges":["<3.20.0"],"patched":["3.20.0"],"from":["GHSA-38f7-945m-qr2g"],"provenance":"source"}],"summary":{"text":"The Effect TypeScript framework, prior to version 3.20.0, contains a race condition in its handling of Node.js AsyncLocalStorage context within the RPC web handler (RpcServer.toWebHandler and HttpApp.toWebHandlerRuntime) when used in Next.js App Router route handlers. An attacker who can send concurrent requests over the network without authentication or user interaction can cause a fiber to read another request's context or none at all, which can result in one user being served another user's session, such as when auth() returns a different user's session under production load.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:24Z"},"euvd":{"id":"EUVD-2026-13818","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-32887","published":"2026-03-20","fixed":"3.20.0","kev":false},{"cve":"CVE-2026-121707","published":"2026-11-17","fixed":"3.22.1","kev":false,"link":{"from":"CVE-2026-32887","to":"CVE-2026-121707","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:effect","fromFixed":"3.20.0","toFixed":"3.22.1","daysApart":242}]}},{"cve":"CVE-2026-115779","published":"2026-11-03","fixed":"4.0.0-beta.103","kev":false}],"package":"npm:effect"}}