CVE-2026-104848
CRITICAL 9.5CVSS 4.0Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution
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.
- Published
- 2 Oct 2026
- Last modified
- 5 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-5gmw-xhrv-c9v3
- Sources
- NVDJSONOSV GHSA-5gmw-xhrv-c9v3JSON
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.1 | 2.1.1 |
References
- https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd · WEB
- https://github.com/tinylibs/tinypool/pull/134 · WEB
- https://github.com/tinylibs/tinypool/releases/tag/v2.1.1 · WEB
- https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-104848 · 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)