{"answers":{"affected":"6 open source packages ship an affected version, including piscina.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55388 exists.","fix":"Upgrade piscina to a fixed version for your release line: 4.9.3, 5.2.0 or 6.0.0-rc.2.","what":"CVE-2026-55388 is a high-severity code injection vulnerability in piscinajs piscina, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55388 and fix it if it is affected.\n\nWhat it is: CVE-2026-55388 is a high-severity code injection vulnerability in piscinajs piscina, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55388 exists.\n\nAffected packages and fixed versions:\n- piscina (npm): affected all versions; fixed in 4.9.3\n- piscina (npm): affected all versions; fixed in 4.9.3\n- piscina (npm): affected from 5.0.0-alpha.0; fixed in 5.2.0\n- piscina (npm): affected from 5.0.0-alpha.0; fixed in 5.2.0\n- piscina (npm): affected from 6.0.0-rc.1; fixed in 6.0.0-rc.2\n- piscina (npm): affected from 6.0.0-rc.1; fixed in 6.0.0-rc.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55388/ (Markdown: https://insights.sbomify.com/CVE-2026-55388/index.md)","id":"CVE-2026-55388","markdown":"https://insights.sbomify.com/CVE-2026-55388/index.md","name":"CVE-2026-55388","record":{"aliases":["CLSA-2026-1784943103","CLSA-2026-1792231948","CLSA-2026-1792232060","ECHO-56d0-8d0e-4fc0","GHSA-x9g3-xrwr-cwfg","MINI-ff39-9whx-5gjq","MINI-mc69-jf7x-rvqv","MINI-mqgp-3j83-cwj6","MINI-p57f-f5c7-j3jw","MINI-p7g2-jr52-c5xh","MINI-pgmw-3mr6-9455","MINI-r84c-9c85-fpxr","MINI-wrjg-485m-87r3","ROOT-APP-NPM-CVE-2026-55388"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js worker pool library","requires_auth":"none","summary":"Attackers can achieve remote code execution in piscina worker pools by polluting the prototype to inject malicious filenames, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"piscina: Prototype Pollution Gadget → RCE via inherited options.filename","id":"CVE-2026-55388","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"datamodel-code-generator vulnerable to arbitrary local file read via JSON-Schema `$ref` (`file://` and `../` traversal), bypassing `--no-allow-remote-refs`","id":"CVE-2026-55389"},"packages":[{"ecosystem":"npm","fixed":["4.9.3"],"introduced":["0"],"last_affected":[],"package":"piscina","purl":null,"source":"GHSA-x9g3-xrwr-cwfg"},{"ecosystem":"npm","fixed":["4.9.3"],"introduced":["0"],"last_affected":[],"package":"piscina","purl":"pkg:npm/piscina","source":"GHSA-x9g3-xrwr-cwfg"},{"ecosystem":"npm","fixed":["5.2.0"],"introduced":["5.0.0-alpha.0"],"last_affected":[],"package":"piscina","purl":null,"source":"GHSA-x9g3-xrwr-cwfg"},{"ecosystem":"npm","fixed":["5.2.0"],"introduced":["5.0.0-alpha.0"],"last_affected":[],"package":"piscina","purl":"pkg:npm/piscina","source":"GHSA-x9g3-xrwr-cwfg"},{"ecosystem":"npm","fixed":["6.0.0-rc.2"],"introduced":["6.0.0-rc.1"],"last_affected":[],"package":"piscina","purl":null,"source":"GHSA-x9g3-xrwr-cwfg"},{"ecosystem":"npm","fixed":["6.0.0-rc.2"],"introduced":["6.0.0-rc.1"],"last_affected":[],"package":"piscina","purl":"pkg:npm/piscina","source":"GHSA-x9g3-xrwr-cwfg"}],"prev":{"headline":"InvoiceShelf bulk deletion lacks company scoping","id":"CVE-2026-55387"},"products":["piscina"],"published":"2026-06-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["piscinajs"]},"summary":"Attackers can achieve remote code execution in piscina worker pools by polluting the prototype to inject malicious filenames, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2026-55388/"}