Race Condition Affecting effect package, versions <3.20.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EFFECT-15746380
  • published22 Mar 2026
  • disclosed20 Mar 2026
  • creditJames Wainwright

Introduced: 20 Mar 2026

CVE-2026-32887  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade effect to version 3.20.0 or higher.

Overview

effect is a node package that allows you to add effects on images.

Affected versions of this package are vulnerable to Race Condition in the MixedScheduler class, where the AsyncLocalStorage context is not properly isolated between concurrent fiber executions. An attacker can access or manipulate another user's session data by triggering concurrent requests, causing the context from one request to be visible to another. This can result in authentication bypass or data leakage, such as reading another user's session or request headers.

Workaround

This vulnerability can be mitigated by capturing ALS-dependent values before entering the runtime and passing them via the internal context system, such as injecting user identifiers into request headers and reading them from there within handlers.

CVSS Base Scores

version 4.0
version 3.1