CVE-2026-104849
CRITICAL 9.5CVSS 4.0Tinypool: 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.
- Published
- 2 Oct 2026
- Last modified
- 6 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1321CWE-94
- Also known as
- GHSA-85c8-ppgw-ccpr
- Sources
- NVDJSONOSV GHSA-85c8-ppgw-ccprJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.5 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | tinypool | < 2.1.2 | 2.1.2 |
References
- https://github.com/tinylibs/tinypool/commit/f41411a3e23324c674f35a19a3240f7a7c40ffbf · WEB
- https://github.com/tinylibs/tinypool/pull/135 · WEB
- https://github.com/tinylibs/tinypool/releases/tag/v2.1.2 · WEB
- https://github.com/tinylibs/tinypool/security/advisories/GHSA-85c8-ppgw-ccpr · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-104849 · ADVISORY
- https://github.com/tinylibs/tinypool · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 2 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Oct 2026)