Live threats

All CVEs / tinylibs

CVE-2026-104849tinylibs 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 6, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-1321
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · 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.2 is vulnerable to prototype pollution that allows an attacker to replace the worker module via the filename property. An attacker who pollutes Object.prototype can cause the worker pool to load malicious JavaScript code and access task data with the host process's privileges. The vulnerability only affects applications that pass a custom options object to pool.run().

Show the original NVD text

Tinypool is a minimal Node.js worker thread pool implementation. Prior to 2.1.2, Tinypool reads filename from a caller-supplied options object in pool.run(task, options) without requiring an own property, so a polluted Object.prototype.filename can replace the intended worker module. Applications are affected only when they pass their own second-argument options object to pool.run(); calls without that argument use the trusted default options object. An attacker who can first pollute the prototype can cause the worker pool to load attacker-selected JavaScript and can read or modify task data with the host process's privileges. This issue is fixed in version 2.1.2.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.1.2

Update Tinypool to version 2.1.2 or later by running npm update tinypool.

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.2 2.1.2 npm install tinypool@2.1.2

Per OSV / GitHub Advisories (GHSA-85c8-ppgw-ccpr). 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.