{"id":"CVE-2026-104849","summary":"Tinypool: Prototype Pollution Gadget to RCE in run() options","details":"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.","aliases":["GHSA-85c8-ppgw-ccpr"],"modified":"2026-10-04T02:46:02.291964092Z","published":"2026-10-02T16:17:28.062Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104849.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-1321","CWE-94"]},"references":[{"type":"WEB","url":"https://github.com/tinylibs/tinypool/releases/tag/v2.1.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104849.json"},{"type":"ADVISORY","url":"https://github.com/tinylibs/tinypool/security/advisories/GHSA-85c8-ppgw-ccpr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104849"},{"type":"FIX","url":"https://github.com/tinylibs/tinypool/commit/f41411a3e23324c674f35a19a3240f7a7c40ffbf"},{"type":"FIX","url":"https://github.com/tinylibs/tinypool/pull/135"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tinylibs/tinypool","events":[{"introduced":"0"},{"fixed":"f41411a3e23324c674f35a19a3240f7a7c40ffbf"},{"fixed":"5e18382a9aaa3344035905384b18a88a9da8c8bb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.1.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.1.1","v2.1.0","v2.0.0","v1.1.1","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.1","v0.3.0","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.3","v0.1.2","v0.1.1","v0.1.0","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104849.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}