Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPollute Object.prototype.filename via existing gadget
-
DeliveryApplication calls pool.run(task, options)
-
ExploitTinypool resolves inherited filename
-
ExecutionWorker loads attacker-selected module
-
ImpactArbitrary code runs with host privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
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 a chain of specific conditions, all drawn from the advisory: (1) the attacker must FIRST be able to pollute Object.prototype (e.g. set Object.prototype.filename) through a separate prototype-pollution vulnerability in the host application - Tinypool does not introduce this; (2) the application must call pool.run(task, options) passing its OWN second-argument options object, because calls with no options argument use the trusted default object and are NOT affected; (3) the deployed Tinypool version must be prior to 2.1.2. These conditions substantially limit real-world exploitability: without a pre-existing prototype-pollution gadget the flaw is unreachable, and applications that never pass a per-call options object are immune even on vulnerable versions. |
| Impact | This is a genuine high-impact but condition-gated vulnerability rather than a straightforward remote RCE. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) scores 9.5, but the single most important signal is AT:P (Attack Requirements: Present), which encodes the hard precondition that an attacker must FIRST achieve Object.prototype pollution elsewhere in the application before this flaw is reachable. Tinypool itself is only the second-stage amplifier that converts an existing prototype-pollution foothold into full code execution. No EPSS score, CISA KEV listing, or public POC was provided in the intelligence set, so exploitation status is 'no public exploit identified at time of analysis' - the PR #135 test case is a regression test for the fix, not weaponized exploit code. The high C/I/A and subsequent-system impacts (VC/VI/VA/SC/SI/SA all H) are credible once the precondition is met, because attacker-chosen JavaScript loads with the host process's privileges. Net assessment: real priority for applications that (a) already have a prototype-pollution gadget and (b) call pool.run(task, options) with a caller-controlled options object; for everyone else the practical exploitability is substantially lower than the 9.5 implies. Note the CVSS vector is 4.0, not 3.1, and no 3.1 vector was supplied - PR:N confirms no authentication is needed for THIS flaw specifically, but the chained prototype-pollution prerequisite is the true gate. |
| Exploit ScenarioDerived | An attacker who already controls a prototype-pollution sink in a Node.js application sets Object.prototype.filename to a path (or attacker-reachable module) of their choosing. When the application later calls pool.run(task, options) passing its own options object, Tinypool (prior to 2.1.2) resolves the inherited filename and spins up a worker loading the attacker-selected JavaScript, which executes with the host process's privileges and can read or tamper with task data. No public exploit code was identified; exploitation requires the pre-existing prototype pollution and the application passing a second-argument options object. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Code injection in Tinypool versions prior to 2.1.2 allows an attacker who first pollutes Object.prototype to load attacker-controlled JavaScript modules via the worker pool, potentially reading or modifying task data with host process privileges. The flaw is exploitable only when an application calls pool.run(task, options) with its own options object; calls that omit the options argument use a trusted default and are unaffected. No public exploit code or active exploitation has been identified, and the attack requires a pre-existing prototype-pollution vulnerability in the host application, making real-world exploitation condition-gated.
RemediationAI
Vendor-released patch: upgrade to Tinypool 2.1.2 or later. The fix is available in release v2.1.2 and commit f41411a3e23324c674f35a19a3240f7a7c40ffbf. As a compensating control, applications can avoid passing a custom second-argument options object to pool.run(); omitting that argument uses the trusted default options and is immune even on vulnerable versions. Additionally, eliminate any prototype-pollution vulnerabilities in the host application, as this flaw is only reachable after Object.prototype has been polluted. Refer to the GitHub security advisory GHSA-85c8-ppgw-ccpr for further guidance.
Affected VersionsENISA
Affected Packages
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
Tinypool is a minimal Node.js worker thread pool library used to manage worker threads. The vulnerability stems from CWE-94 code injection: the pool.run(task, options) method reads the filename property from the caller-supplied options object without requiring it to be an own property. If an attacker can pollute Object.prototype.filename through a separate prototype-pollution flaw, the polluted value overrides the intended worker module, causing the pool to load and execute attacker-selected JavaScript. The fix in version 2.1.2 introduces a withNullPrototype helper that copies options onto a prototype-less object, ensuring properties are resolved only from the options object itself. Affected products are identified by CPE cpe:2.3:a:tinylibs:tinypool:*:*:*:*:*:*:*:* , covering all versions before 2.1.2.
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
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
AC:H reflects the required pre-existing prototype pollution and the app passing a caller-controlled options object; PR:N since this flaw itself needs no auth; S:C and C/I/A:H for attacker code running with host privileges.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 2
Technical POC Analysis
Bug class: CWE-94, Code Injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Tinypool, the worker-pool library embedded in widely used JavaScript and TypeScript build and test toolchains, carries a critical code-injection flaw (CVE-2026-104849, CVSS 9.5) for which no vendor-released patch is identified at time of analysis. Exploitation is condition-gated: an attacker must first succeed with a separate prototype-pollution bug in the host application, after which injected JavaScript can run with the privileges of the build or CI process and read or alter task data. Because these processes typically sit on developer workstations and CI runners holding source code, build secrets and deployment credentials, leadership should treat this as a supply-chain and build-integrity exposure rather than an isolated library bug.
No vendor-released patch identified at time of analysis. Interim mitigations: remove custom options objects from pool.run() calls or pass null-prototype objects (Object.create(null)) so injected property lookups cannot resolve; calls that omit the options argument use trusted defaults and are unaffected; harden against upstream prototype pollution by freezing Object.prototype and running Node.js with --disable-proto=delete; enforce strict input validation for any user-controlled data reaching object merge or clone logic; run build and CI workloads in ephemeral least-privilege containers with no persistent credentials; monitor for anomalous module loads in worker pool processes; and pull the remediated 2.1.2 release once the maintainer confirms availability.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-91719
GHSA-85c8-ppgw-ccpr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB