{"id":"CVE-2026-104849","published":"2026-10-02T16:17:28Z","modified":"2026-10-06T16:35:59Z","title":"Tinypool: Prototype Pollution Gadget to RCE in run() options","vendor":"tinylibs","product":"tinypool","tier":"tail","description":{"text":"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.","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.00485,"percentile":0.42683,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/tinylibs/tinypool/security/advisories/GHSA-85c8-ppgw-ccpr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinylibs/tinypool/pull/135","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinylibs/tinypool/commit/f41411a3e23324c674f35a19a3240f7a7c40ffbf","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinylibs/tinypool/releases/tag/v2.1.2","tags":["x_refsource_MISC"]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":8.54},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.65}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-23","earliestUrl":"https://github.com/CompleteTech-Security/tinypool-options-rce-check","repos":[{"name":"CompleteTech-Security/tinypool-options-rce-check","url":"https://github.com/CompleteTech-Security/tinypool-options-rce-check","stars":0,"created":"2026-10-23"}]},"first":{"date":"2026-10-23","source":"PoC-in-GitHub","url":"https://github.com/CompleteTech-Security/tinypool-options-rce-check"},"provenance":"source"},"vendorSlug":"tinylibs","affectedVersions":[{"vendor":"tinylibs","product":"tinypool","versions":["< 2.1.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-06T16:35:41.151003Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tinypool","vulnerableRanges":["<2.1.2"],"patched":["2.1.2"],"from":["GHSA-85c8-ppgw-ccpr"],"provenance":"source"}],"summary":{"text":"Tinypool, a minimal Node.js worker thread pool implementation from tinylibs, prior to version 2.1.2, reads the filename property from a caller-supplied options object passed to pool.run() without checking that it is 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(), and an attacker who can first pollute the prototype could cause the pool to load attacker-selected JavaScript and read or modify task data with the host process's privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:22:45Z"},"euvd":{"id":"EUVD-2026-91719","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tinylibs-tinypool-cve-2026-104848","parents":[{"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"}}