Skip to content

CVE-2026-55388 piscina: Prototype Pollution Gadget → RCE via inherited options.filename

HighCVSS 8.1 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm piscina(npm) < 4.9.3; <= 4.9.2; >= 5.0.0-alpha.0, < 5.2.0; >= 5.0.0-alpha.0, <= 5.1.4 +1 more 4.9.3, 5.2.0, 6.0.0-rc.2 Fixed
piscinajs piscina = < 4.9.3; = >= 5.0.0-alpha.0, < 5.2.0; = >= 6.0.0-rc.1, < 6.0.0-rc.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
piscinajs piscina = < 4.9.3 No fix listed
piscinajs piscina = >= 5.0.0-alpha.0, < 5.2.0 No fix listed
piscinajs piscina = >= 6.0.0-rc.1, < 6.0.0-rc.2 No fix listed
npm piscina(npm) >= 5.0.0-alpha.0, <= 5.1.4 No fix listed
npm piscina(npm) <= 4.9.2 No fix listed
npm piscina(npm) >= 6.0.0-rc.1, < 6.0.0-rc.2 6.0.0-rc.2
npm piscina(npm) >= 5.0.0-alpha.0, < 5.2.0 5.2.0
npm piscina(npm) < 4.9.3 4.9.3

References