Vulnerability

CVE-2026-104849

criticalCVSS 4.0 9.5Published 2 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /tinylibs/tinypool/commit/f41411a3e23324c674f35a19a3240f7a7…
  • github.com /tinylibs/tinypool/pull/135
  • github.com /tinylibs/tinypool/releases/tag/v2.1.2
  • github.com /tinylibs/tinypool/security/advisories/GHSA-85c8-ppgw-ccpr

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning