Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 63%

CVE-2026-55388: CWE-94: Improper Control of Generation of Code ('Code Injection') in piscinajs piscina

0
High
VulnerabilityCVE-2026-55388cvecve-2026-55388cwe-94cwe-1321
Published: 06/22/2026 (06/22/2026, 16:50:40 UTC)
Source: CVE Database V5
Vendor/Project: piscinajs
Product: piscina

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.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

piscina
pkg:npm/piscina
Affected versions
<4.9.3>=4.9.3 <5.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/29/2026, 21:52:28 UTC

Technical Analysis

The vulnerability in piscina arises because its constructor and run() methods access the filename option using plain member access, which falls through the prototype chain if the caller's options object lacks an own filename property. If an attacker pollutes Object.prototype.filename upstream, the inherited malicious value is passed to worker_threads.Worker import, resulting in arbitrary code execution in the worker context. This issue is addressed in piscina versions 6.0.0-rc.2, 5.2.0, and 4.9.3.

Potential Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary code within a worker thread, potentially leading to full compromise of the application using piscina. The CVSS 3.1 score of 8.1 reflects high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix is available in piscina versions 4.9.3, 5.2.0, and 6.0.0-rc.2. Users should upgrade to at least version 5.2.0 or 4.9.3 to remediate this vulnerability. Patch status is confirmed by the version information in the advisory. No other vendor advisory content is provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T18:57:40.183Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39735deed863c81e3962f6

Added to database: 06/22/2026, 17:39:41 UTC

Last enriched: 06/29/2026, 21:52:28 UTC

Last updated: 08/06/2026, 00:41:14 UTC

Views: 56

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses