{"answers":{"affected":"2 open source packages ship an affected version, including tinypool.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-104849 exists.","fix":"Upgrade tinypool to 2.1.2 or later.","what":"CVE-2026-104849 is a critical code injection vulnerability in tinylibs tinypool, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-104849 and fix it if it is affected.\n\nWhat it is: CVE-2026-104849 is a critical code injection vulnerability in tinylibs tinypool, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-104849 exists.\n\nAffected packages and fixed versions:\n- tinypool (npm): affected all versions; fixed in 2.1.2\n- tinypool (npm): affected all versions; fixed in 2.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-104849/ (Markdown: https://insights.sbomify.com/CVE-2026-104849/index.md)","id":"CVE-2026-104849","markdown":"https://insights.sbomify.com/CVE-2026-104849/index.md","name":"CVE-2026-104849","record":{"aliases":["GHSA-85c8-ppgw-ccpr","MINI-gxwj-p3jh-hhmf","MINI-h7jp-5cxp-xjrh","MINI-m3v6-h2vv-mx54","MINI-p77r-ccmp-9pj3","ROOT-APP-NPM-CVE-2026-104849"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Node.js worker pool library","requires_auth":"none","summary":"Prototype pollution allows attackers to inject malicious code into Tinypool worker threads, leading to remote code execution and data manipulation.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.5,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-10-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-23T23:37:34Z","kind":"github_poc","ref":"https://github.com/CompleteTech-Security/tinypool-options-rce-check","stars":0,"title":"Offline Tinypool evidence checker for CVE-2026-104849. Worker-pool package and options evidence. Standalone Python; JSON/CSV/HTML reports; no exploit payloads."}],"tier":"weaponised"},"has_fix":true,"headline":"Tinypool: Prototype Pollution Gadget to RCE in run() options","id":"CVE-2026-104849","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server","id":"CVE-2026-104850"},"packages":[{"ecosystem":"npm","fixed":["2.1.2"],"introduced":["0"],"last_affected":[],"package":"tinypool","purl":null,"source":"GHSA-85c8-ppgw-ccpr"},{"ecosystem":"npm","fixed":["2.1.2"],"introduced":["0"],"last_affected":[],"package":"tinypool","purl":"pkg:npm/tinypool","source":"GHSA-85c8-ppgw-ccpr"}],"prev":{"headline":"Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution","id":"CVE-2026-104848"},"products":["tinypool"],"published":"2026-10-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-06","vendors":["tinylibs"]},"summary":"Prototype pollution allows attackers to inject malicious code into Tinypool worker threads, leading to remote code execution and data manipulation.","url":"https://insights.sbomify.com/CVE-2026-104849/"}