{"id":"CVE-2026-104848","published":"2026-10-02T16:15:04Z","modified":"2026-10-02T17:29:40Z","title":"Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution","vendor":"tinylibs","product":"tinypool","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.5,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0068,"percentile":0.47556,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinylibs/tinypool/pull/134","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinylibs/tinypool/releases/tag/v2.1.1","tags":["x_refsource_MISC"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":9.51},{"name":"CVSS severity","points":6.65}]},"vendorSlug":"tinylibs","affectedVersions":[{"vendor":"tinylibs","product":"tinypool","versions":["< 2.1.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-02T17:29:00.481503Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tinypool","vulnerableRanges":["<2.1.1"],"patched":["2.1.1"],"from":["GHSA-5gmw-xhrv-c9v3"],"provenance":"source"}],"summary":{"text":"Tinypool, a minimal Node.js worker thread pool implementation distributed as the tinypool product from tinylibs, contains a prototype pollution flaw in how its ThreadPool options are built and how the execArgv and env worker options are read in dist/index.js. An attacker who can first pollute Object.prototype can cause attacker-selected JavaScript to be loaded into every newly spawned worker through preload arguments or NODE_OPTIONS, executing code with the host process's privileges, provided they can pollute one of those properties beforehand.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:18:38Z"},"euvd":{"id":"EUVD-2026-91718","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tinylibs-tinypool-cve-2026-104848","children":[{"from":"CVE-2026-104848","to":"CVE-2026-104849","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tinypool","fromFixed":"2.1.1","toFixed":"2.1.2","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/index.ts"],"commits":["https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd","https://github.com/tinylibs/tinypool/commit/f41411a3e23324c674f35a19a3240f7a7c40ffbf"],"basis":"shared function","functions":["ThreadPool"]},{"kind":"similar","provenance":"machine","score":0.58,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-104848","published":"2026-10-02","fixed":"2.1.1","kev":false},{"cve":"CVE-2026-104849","published":"2026-10-02","fixed":"2.1.2","kev":false}],"package":"npm:tinypool"}}