{"id":"CVE-2026-55388","published":"2026-06-22T16:50:40Z","modified":"2026-11-03T19:14:08Z","title":"piscina: Prototype Pollution Gadget → RCE via inherited options.filename","vendor":"piscinajs","product":"piscina","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00483,"percentile":0.42548,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/piscinajs/piscina/security/advisories/GHSA-x9g3-xrwr-cwfg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.51},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"piscinajs","affectedVersions":[{"vendor":"piscinajs","product":"piscina","versions":["< 4.9.3",">= 5.0.0-alpha.0, < 5.2.0",">= 6.0.0-rc.1, < 6.0.0-rc.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-23T15:50:15.219533Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"piscina","vulnerableRanges":[">=5.0.0-alpha.0, <5.2.0","<4.9.3",">=6.0.0-rc.1, <6.0.0-rc.2"],"patched":["5.2.0","4.9.3","6.0.0-rc.2"],"from":["GHSA-x9g3-xrwr-cwfg"],"provenance":"source"}],"summary":{"text":"The flaw is in piscina, a Node.js worker pool implementation, where its constructor and run() paths read the filename option via plain member access, so a value inherited through the prototype chain (for example, after Object.prototype has been polluted upstream) is used as the worker module to import. An attacker who can pollute the prototype chain and reach this code path can get their own .mjs file loaded and executed inside a worker thread, and exploitation requires that prototype pollution gadget to exist in the application, with no authentication or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:31Z"},"euvd":{"id":"EUVD-2026-38320","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-piscinajs-piscina-cve-2026-55388","packageHistory":[{"cve":"CVE-2026-55388","published":"2026-06-22","fixed":"6.0.0-rc.2","kev":false},{"cve":"CVE-2026-102992","published":"2026-09-30","fixed":"6.0.0-rc.5","kev":false,"link":{"from":"CVE-2026-55388","to":"CVE-2026-102992","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:piscina","fromFixed":"5.2.0","toFixed":"5.3.2","daysApart":100},{"kind":"version-step","provenance":"source","package":"npm:piscina","fromFixed":"4.9.3","toFixed":"4.9.4","daysApart":100},{"kind":"similar","provenance":"machine","score":0.52,"basis":"same product + CWE + description similarity"}]}}],"package":"npm:piscina"}}