CVE-2026-102992piscinajs piscina
Prototype Pollution in Piscina Enabling Code Execution in Worker Threads
Critical 9.2 No auth needed
Follow: this CVE · piscinajs · piscinajs piscina We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 4.0
- 9.2
- EPSS
- —
- Auth required
- No
- Published
- Sep 30, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Piscina, a Node.js worker pool, stores options unprotected from Object.prototype inheritance. An attacker with access to a prototype pollution primitive can inject inherited values into execArgv, loadBalancer, or env to preload malicious code, execute arbitrary functions during task scheduling, or alter worker environments.
Show the original NVD text
piscina is a node.js worker pool implementation. Prior to 4.9.4, 5.3.2, and 6.0.0-rc.5, Piscina stores ThreadPool.options in src/index.ts as a plain object that inherits from Object.prototype. Applications with a separate prototype-pollution primitive can therefore supply inherited values for security-sensitive options that do not have own defaults. An inherited execArgv value is passed to the Node.js Worker constructor and can preload attacker-controlled code in worker threads, an inherited loadBalancer function can execute during task scheduling, and inherited env values can alter worker environments. This issue is fixed in versions 4.9.4, 5.3.2, and 6.0.0-rc.5.
What to do
Patch available · fixed versions: 4.9.4, 5.3.2, 6.0.0-rc.5
Update Piscina to version 4.9.4, 5.3.2, or 6.0.0-rc.5 or later depending on your version branch.
- Apply the vendor's security update for piscina.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | piscina |
≥ 5.0.0 < 5.3.2 |
5.3.2 |
npm install piscina@5.3.2 |
| npm | piscina |
< 4.9.4 |
4.9.4 |
npm install piscina@4.9.4 |
| npm | piscina |
≥ 6.0.0-rc.1 < 6.0.0-rc.5 |
6.0.0-rc.5 |
npm install piscina@6.0.0-rc.5 |
Per OSV / GitHub Advisories (GHSA-67c8-pqhq-4rmx). Check the version in your lockfile before upgrading.
Affected products
- piscinajs · piscina
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.