CVE-2026-104848 tinylibs · tinypool
AI summary
tinypool before 2.1.1 copies execArgv and env values inherited from a polluted Object.prototype into worker options. An attacker who can first pollute the prototype can make workers load attacker-chosen JavaScript, gaining code execution with host process privileges (e.g., access to CI secrets). Critical (CVSS 9.5); upgrade to 2.1.1.
Official description
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
- 2026-10-02 17:17 UTC
- Modified
- 2026-10-02 18:33 UTC
- CVSS
- 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/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 - EPSS
- 0.68% (percentile 48)
- ENISA EUVD
- EUVD-2026-91718
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
- CWE
- CWE-1321
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Attack requirements
- present
- Privileges required
- none
- User interaction
- none
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd - github.com
https://github.com/tinylibs/tinypool/pull/134 - github.com
https://github.com/tinylibs/tinypool/releases/tag/v2.1.1 - github.com
https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3