---
id: CVE-2026-104849
title: Tinypool is a minimal Node.js worker thread pool implementation
summary: >-
  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.f…
severity: critical
cvss: 9.5
cvssVector: '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'
cwe:
  - CWE-94
  - CWE-1321
vendor: tinylibs
product: tinypool
affected:
  - tinypool < 2.1.2
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T17:17:03.623'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104849'
references:
  - url: >-
      https://github.com/tinylibs/tinypool/commit/f41411a3e23324c674f35a19a3240f7a7c40ffbf
    label: security-advisories@github.com
  - url: 'https://github.com/tinylibs/tinypool/pull/135'
    label: security-advisories@github.com
  - url: 'https://github.com/tinylibs/tinypool/releases/tag/v2.1.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/tinylibs/tinypool/security/advisories/GHSA-85c8-ppgw-ccpr
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
cvssSource: cna
ingestedAt: '2026-10-02T17:24:03.904Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
