Skip to main content

Tinypool EUVDEUVD-2026-91718

| CVE-2026-104848 CRITICAL
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-10-02 GitHub_M GHSA-5gmw-xhrv-c9v3
9.5
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain prototype-pollution primitive in host app
  2. Delivery
    Set Object.prototype.execArgv/env NODE_OPTIONS to attacker preload
  3. Exploit
    Trigger spawn of new Tinypool worker
  4. Execution
    Worker loads attacker JavaScript at startup
  5. Impact
    Execute code and exfiltrate CI secrets/signing keys

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the host application ALREADY has a prototype-pollution vulnerability allowing the attacker to set Object.prototype.execArgv (e.g. ['--import', attacker.mjs]) or Object.prototype.env.NODE_OPTIONS before Tinypool constructs ThreadPool.options; this is the AT:P attack requirement in the CVSS vector. The vulnerable sink is Tinypool's construction of this.options via object spread that copies inherited prototype properties into own properties passed to worker_threads.Worker (in dist/index.js), affecting versions prior to 2.1.1. A new worker must then be spawned for the payload to load. Limiting factors: Tinypool alone cannot be exploited - a separate pollution gadget is mandatory - and the practical exposure is concentrated in Node.js CI/build/test environments (e.g. Vitest). Not exploitable against 2.1.1+, which copies options onto a null-prototype object.

Impact

This is a high-severity prototype-pollution-to-RCE issue (CWE-1321) in Tinypool, carrying a vendor CVSS 4.0 base score of 9.5 (AV:N/AC:L/AT:P/PR:N/UI:N with full High vulnerable- and subsequent-system impact). The single most important signal is AT:P (Attack Requirements: Present): exploitation is NOT self-contained - the attacker must ALREADY possess a prototype-pollution primitive somewhere in the host application before Tinypool's copying of execArgv/env from Object.prototype can be weaponized. This makes it a second-stage/gadget vulnerability rather than a standalone remote exploit, which tempers the otherwise alarming 9.5. No EPSS score is provided in the input, so exploitation probability cannot be quantified. The CVE is NOT listed in CISA KEV, so there is no evidence of active exploitation. The linked PR #134 includes a regression test that concretely demonstrates the pollution-to-code-load path, so working proof-of-concept logic is effectively public. Net: treat as a real priority for teams running Tinypool (notably via Vitest) in CI/build pipelines where a prototype-pollution gadget may co-exist, because the impact is full code execution with host privileges and access to CI secrets/signing material; but recognize the AT:P prerequisite means it is not drive-by remote RCE and absence from KEV plus unknown EPSS suggests no confirmed widespread exploitation yet. Patching to 2.1.1 is low-cost and clearly warranted.

Exploit ScenarioDerived

An attacker who has already achieved prototype pollution in a Node.js CI/build process (for example via an untrusted JSON/config merge or a vulnerable dependency) sets Object.prototype.execArgv or Object.prototype.env.NODE_OPTIONS to point at an attacker-controlled script. When the application later spawns a new Tinypool worker, those polluted values are copied into the Worker's own options and the worker preloads the attacker's JavaScript, yielding code execution with the host process's privileges. A public proof-of-concept of the mechanism exists in the project's fix PR (#134) regression test.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 02, 2026

Prototype pollution in the Tinypool npm package prior to 2.1.1 escalates to code execution: an unauthenticated remote attacker who can first pollute Object.prototype.execArgv or Object.prototype.env.NODE_OPTIONS (via a separate prototype-pollution flaw in the host application) has those inherited values copied into ThreadPool.options and forwarded to worker_threads.Worker, so every newly spawned worker loads attacker-supplied JavaScript through --import/--require preload arguments or NODE_OPTIONS. The payload executes with the host process's privileges, potentially exposing CI secrets, signing material, or build artifacts. The vendor assigns a CVSS 4.0 base score of 9.5 (AT:P - the attack requires an existing pollution primitive), exploitation is not confirmed as actively exploited (no CISA KEV listing) and no public exploit identified at time of analysis, although the upstream fix commit includes a regression test that demonstrates the execArgv/NODE_OPTIONS technique.

RemediationAI

Primary fix: upgrade Tinypool to version 2.1.1 or later - the vendor-released patch (release v2.1.1, commit 24df4e7, PR #134) switches the options assembly to Object.assign(Object.create(null), ...), eliminating the prototype-inheritance sink. Since Tinypool is usually a transitive dependency (e.g. via Vitest), enforce the upgrade with npm overrides, Yarn resolutions, or pnpm overrides pinning tinypool to >=2.1.1, then verify with npm ls tinypool and rebuild lockfiles so the patched copy is deduped across the tree; consult GHSA-5gmw-xhrv-c9v3 for the full advisory text. If the upgrade cannot be applied immediately, the mandatory compensating control is to remove or patch the upstream prototype-pollution primitive, because this CVE is only reachable once Object.prototype.execArgv or Object.prototype.env has been polluted - fixing or filtering that gadget breaks the chain entirely. Additional hardening, with trade-offs: call Object.freeze(Object.prototype) at process start, which blocks most reusable pollution gadgets but may break libraries or application code that legitimately extend prototypes and must be validated against your dependency set; run Node with --disable-proto=throw or --disable-proto=delete, which blocks __proto__-based pollution yet does not stop direct assignment such as Object.prototype.execArgv = [...], so it is only partial; sandbox CI jobs with the Node permission model (--permission, restricted --allow-fs-read) and ephemeral least-privilege containers, noting that a preload-based payload still needs read access to the attacker's module, so filesystem allowlists materially reduce impact; and restrict what secrets, signing keys, and publish tokens are exposed to jobs that execute untrusted dependency code, since the vulnerable sink runs with full host-process privileges. Add detection by alerting on Worker spawns with unexpected execArgv entries (--import, --require) or NODE_OPTIONS values in build/test telemetry.

Affected VersionsENISA

tinypool < 2.1.1

Affected Packages

npm tinypool fix: 2.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-1321 (improperly controlled modification of dynamically determined object attributes - prototype pollution) in a Node.js worker-thread pool. Tinypool builds its per-instance configuration with this.options = { ...kDefaultOptions, ...options, filename, maxQueue: 0 }, an object spread that copies inherited enumerable properties from Object.prototype into the resulting object as own properties. Its code path then reads the execArgv and env options and passes them straight into new worker_threads.Worker(...), where execArgv accepts Node CLI flags such as --import <module> / --require and env can carry NODE_OPTIONS, both of which force an arbitrary module to be loaded at worker startup. Because the copied values become own properties, Tinypool cannot distinguish attacker-injected prototype state from legitimate configuration. The affected component is the npm package tinylibs:tinypool (CPE cpe:2.3:a:tinylibs:tinypool:*:*:*:*:*:*:*:*), all versions before 2.1.1; the fix in 2.1.1 changes the constructor to Object.assign(Object.create(null), kDefaultOptions, options, { filename, maxQueue: 0 }), i.e. a null-prototype target that no longer inherits polluted properties. Key operational detail: Tinypool alone is not a complete exploit chain - a second, independent prototype-pollution primitive in the consuming application is mandatory (the AT:P requirement), and a new worker must subsequently be spawned for the payload to load. Exposure therefore concentrates in Node.js CI/build/test environments where worker pools are used on untrusted dependency graphs, notably Vitest, which uses Tinypool as its worker pool.

Know when Tinypool gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.5 CRITICAL
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
vuln.today AI 9.0 CRITICAL

AC:H because a pre-existing prototype-pollution primitive and a subsequent worker spawn are required; S:C as attacker code escapes the library to run with full host-process authority over secrets and build artifacts.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Red Hat 8.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Oct 02, 2026 - 17:02 EUVD
CVE Published
Oct 02, 2026 - 16:15 cve.org
CRITICAL 9.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-1321, prototype pollution amplification.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Tinypool npm package versions prior to 2.1.1 contain a critical prototype-pollution flaw that can escalate to code execution in affected Node.js applications and CI/CD pipelines. An attacker who can first trigger a separate prototype-pollution issue in the host application could cause newly spawned worker threads to load attacker-controlled JavaScript, potentially exposing CI secrets, signing material, and build artifacts under the host process's privileges. No vendor-released patch is identified at time of analysis and no public exploit identified at time of analysis.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include enforcing Node.js prototype-pollution protections such as --disable-proto=throw where compatible, restricting or monitoring NODE_OPTIONS and worker --import/--require preload arguments, eliminating untrusted input paths that can pollute Object.prototype, running affected CI/build workers with least privilege and isolated credentials, rotating exposed secrets and signing material, and monitoring worker thread creation for unexpected preload behavior. Upgrade to Tinypool 2.1.1 or later only when a vendor-released patch is confirmed.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
High
core worker-pool dependency of Vitest, pulled transitively into many Node toolchains
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy