Vulnerability · Published Sep 30, 2026 · Assigned by GitHub_M
CVE-2026-102992piscina: Prototype-pollution gadget in ThreadPool.options allows RCE via execArgv / loadBalancer / env
Critical 9.2
In plain English
A critical-severity prototype pollution in piscina from piscinajs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | piscina | 5.3.2 | GHSA-67c8-pqhq-4rmx |
| npm | piscina | 4.9.4 | GHSA-67c8-pqhq-4rmx |
| npm | piscina | 6.0.0-rc.5 | GHSA-67c8-pqhq-4rmx |
Affected products (as reported)
Weakness: CWE-1321 · 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
References
- https://github.com/piscinajs/piscina/security/advisories/GHSA-67c8-pqhq-4rmx x_refsource_CONFIRM
- https://github.com/piscinajs/piscina/commit/0cb12fca37f526065b072592afe954574dcc656f x_refsource_MISC
- https://github.com/piscinajs/piscina/commit/2f69f67159a0e48b38fd61fa4a91c2fdc19fff72 x_refsource_MISC
- https://github.com/piscinajs/piscina/commit/5be7bbb19e3787bb698862cd516121a578d690f7 x_refsource_MISC
- https://github.com/piscinajs/piscina/commit/bebbda255c2981cecddd36b171b94be2fd41c9a6 x_refsource_MISC
- https://github.com/piscinajs/piscina/releases/tag/v4.9.4 x_refsource_MISC
- https://github.com/piscinajs/piscina/releases/tag/v5.3.2 x_refsource_MISC
- https://github.com/piscinajs/piscina/releases/tag/v6.0.0-rc.5 x_refsource_MISC