piscina: Prototype Pollution Gadget → RCE via inherited options.filename (piscinajs piscina)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.48 % · percentile 42 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
Description
piscina is a node.js worker pool implementation. Prior to 6.0.0-rc.2, 5.2.0, and 4.9.3, piscina's constructor and run() paths read the filename option via plain member access. Both reads fall through the prototype chain when the caller's options object doesn't have filename as an own property. When Object.prototype.filename is polluted upstream the inherited value flows to worker_threads.Worker import and the attacker's .mjs runs in the worker. This vulnerability is fixed in 6.0.0-rc.2, 5.2.0, and 4.9.3.
Weaknesses (CWE)
- CWE-94 — Improper Control of Generation of Code
- CWE-1321 — Improperly Controlled Modification of Object Prototype Attributes
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-x9g3-xrwr-cwfg — piscina: Prototype Pollution Gadget → RCE via inherited options.filename
European references
- ENISA EUVD · EUVD-2026-38320
- GCVE · GCVE-0-2026-55388
Affected products
| Product | Versions |
|---|---|
| piscinajs · piscina | affected < 4.9.3 ; affected >= 5.0.0-alpha.0, < 5.2.0 ; affected >= 6.0.0-rc.1, < 6.0.0-rc.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |