p PatchFirst

CVE-2026-32887

CVE-2026-32887 · Effect Bug: `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.4 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • effect

    Versions
    • < 3.20.0: Affected

    No fix published

  • effect npm

    Affected ranges
    • SEMVER: < 3.20.0

    Update to 3.20.0

Original sources

Check your server →