Live threats

All CVEs / tinylibs

CVE-2026-104848tinylibs tinypool

Code injection via prototype pollution in Tinypool

Critical 9.5 No auth needed

Priority
72
CVSS 4.0
9.5
EPSS
—
Auth required
No
Published
Oct 2, 2026
Updated
Oct 2, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Tinypool prior to 2.1.1 is vulnerable to prototype pollution that allows an attacker to inject malicious execution arguments into Node.js workers. An attacker who pollutes Object.prototype can execute arbitrary JavaScript code with the host process's privileges, potentially accessing CI secrets, signing material, or build artifacts.

Show the original NVD text

Tinypool is a minimal Node.js worker thread pool implementation. Prior to 2.1.1, Tinypool constructs ThreadPool.options from a normal options object and reads the execArgv and env worker options in dist/index.js, allowing values inherited from a polluted Object.prototype to be copied into own properties and passed to worker_threads.Worker. An attacker who can first pollute either property can cause each newly spawned worker to load attacker-selected JavaScript through command-line preload arguments or NODE_OPTIONS, resulting in code execution with the host process's privileges and possible access to CI secrets, signing material, or build artifacts. This issue is fixed in version 2.1.1.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.1.1

Update tinypool to version 2.1.1 or later to mitigate the prototype pollution vulnerability.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for tinypool.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm tinypool < 2.1.1 2.1.1 npm install tinypool@2.1.1

Per OSV / GitHub Advisories (GHSA-5gmw-xhrv-c9v3). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.