{"id":"CVE-2026-104848","state":"PUBLISHED","title":"Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution","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.","publishedAt":"2026-10-02T16:15:04.101Z","updatedAt":"2026-10-02T17:29:40.500Z","severity":{"score":9.5,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["tinylibs tinypool"],"affected":[{"vendor":"tinylibs","product":"tinypool","versions":[{"version":"< 2.1.1","status":"affected"}]}],"references":["https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3","https://github.com/tinylibs/tinypool/pull/134","https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd","https://github.com/tinylibs/tinypool/releases/tag/v2.1.1"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/104xxx/CVE-2026-104848.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-104848","state":"PUBLISHED","datePublished":"2026-10-02T16:15:04.101Z","dateUpdated":"2026-10-02T17:29:40.500Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-02T14:38:43.244Z"},"containers":{"cna":{"title":"Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tinylibs","product":"tinypool","versions":[{"version":"< 2.1.1","status":"affected"}]}],"references":[{"url":"https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3","name":"https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinylibs/tinypool/pull/134","name":"https://github.com/tinylibs/tinypool/pull/134","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd","name":"https://github.com/tinylibs/tinypool/commit/24df4e730e7d0857a6d226c9b58f8924227404fd","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinylibs/tinypool/releases/tag/v2.1.1","name":"https://github.com/tinylibs/tinypool/releases/tag/v2.1.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.5,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-02T16:15:04.101Z"},"source":{"advisory":"GHSA-5gmw-xhrv-c9v3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/tinylibs/tinypool/security/advisories/GHSA-5gmw-xhrv-c9v3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-02T17:29:00.481503Z","id":"CVE-2026-104848","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-02T17:29:40.500Z"}}]}}}