Skip to content
OpenAdvisories
High · 7.4 CVE-2026-32887 EUVD-2026-13818GHSA-38f7-945m-qr2g

Effect Bug: `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC

Published Mar 20, 2026 · Updated Mar 25, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Effect-TS effect < 3.20.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jitsucom-jitsu-console 2.11.0-r19 —
Wolfi rolling langfuse-3 +1 3.163.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm effect < 3.20.0 3.20.0 GHSA-38f7-945m-qr2g

Advisories 1

References