---
id: CVE-2026-104848
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.1, Tinypool constructs ThreadPool.options from a normal options object and
  reads the execArgv and env worker options in dist/index.js, allowing values
  inherite…
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-1321
vendor: tinylibs
product: tinypool
affected:
  - tinypool < 2.1.1
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T18:17:01.720'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104848'
references:
  - url: >-
      https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd
    label: security-advisories@github.com
  - url: 'https://github.com/tinylibs/tinypool/pull/134'
    label: security-advisories@github.com
  - url: 'https://github.com/tinylibs/tinypool/releases/tag/v2.1.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3
    label: security-advisories@github.com
  - url: >-
      https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-02T17:29:00.481503Z'
cvssSource: cna
ingestedAt: '2026-10-02T17:24:03.903Z'
---

## Overview

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.

## Remediation

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