Back to overview

CVE-2026-55388

HIGH
8.1
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-55388
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-06-16 18:57 UTC
Published
2026-06-22 16:50 UTC
Last updated
2026-06-22 16:50 UTC
Primary CWE
CWE-94
CWE-94: Improper Control of Generation of Code ('Code Inject…
Vendor / Product
piscinajs / piscina
Sources
cve.org  ·  NVD

Severity & Metrics

8.1 HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products (1)
VendorProductPlatformVersions
piscinajs piscina < 4.9.3, >= 5.0.0-alpha.0, < 5.2.0, >= 6.0.0-rc.1, < 6.0.0-rc.2
Weakness (CWE)
CWESourceDescription
CWE-1321 cna CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CWE-94 cna CWE-94: Improper Control of Generation of Code ('Code Injection')
CVSS scores (1)
ScoreSeverityVersionSourceVector
8.1 HIGH 3.1 cna CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References (1)
Back to overview