Piscinajs piscina
piscina: Prototype Pollution Gadget → RCE via inherited options.filename
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
piscinajs piscina
- < 4.9.3
- >= 5.0.0-alpha.0, < 5.2.0
- >= 6.0.0-rc.1, < 6.0.0-rc.2
Fixed in 4.9.3, 5.2.0, 6.0.0-rc.2
Mitigation
Upgrade piscina to 4.9.3 or 5.2.0 or 6.0.0-rc.2 or later.
References
- Vendor advisory github.com/piscinajs/piscina/security/advisori…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.