CVE-2026-104848 Tinypool: 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.
영향 받는 제품 제품 1개
-
해결 버전 있음
tinylibs
tinypool
영향 받는 버전
- 2.1.1 미만
해결 버전
- 2.1.1 이상
참고 자료 4건
- 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 (새 창)