Tinypool
Tinypool: Prototype Pollution Gadget to RCE in run() options
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.1.2
Fixed in 2.1.2
Mitigation
Upgrade tinypool to 2.1.2 or later.
References
- Vendor advisory github.com/tinylibs/tinypool/security/advisori…
- Patch github.com/tinylibs/tinypool/pull/135
- Patch github.com/tinylibs/tinypool/commit/f41411a3e2…
1 more
- Release notes github.com/tinylibs/tinypool/releases/tag/v2.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| CompleteTech-Security/tinypool-options-rce-check | 23 Oct 2026 +21 d | 14 Nov 2026 | 0 | Informational · write-up
Flags · score 45
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.