{"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-104848 exists.","fix":"Upgrade tinypool to 2.1.1 or later.","what":"CVE-2026-104848 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-104848 and fix it if it is affected.\n\nWhat it is: CVE-2026-104848 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-104848 exists.\n\nAffected packages and fixed versions:\n- tinypool (npm): affected all versions; fixed in 2.1.1\n- tinypool (npm): affected all versions; fixed in 2.1.1\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-104848/ (Markdown: https://insights.sbomify.com/CVE-2026-104848/index.md)","id":"CVE-2026-104848","markdown":"https://insights.sbomify.com/CVE-2026-104848/index.md","name":"CVE-2026-104848","record":{"aliases":["GHSA-5gmw-xhrv-c9v3","MINI-395r-8rr8-28vv","MINI-6ppf-979g-65jp","MINI-9cc7-f84v-rp8w","MINI-mx77-52gw-3qqg","ROOT-APP-NPM-CVE-2026-104848"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js worker pool library","requires_auth":"none","summary":"Prototype pollution in Tinypool allows attackers to inject code into worker threads via execArgv or env, leading to remote code execution.","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-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution","id":"CVE-2026-104848","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":"Tinypool: Prototype Pollution Gadget to RCE in run() options","id":"CVE-2026-104849"},"packages":[{"ecosystem":"npm","fixed":["2.1.1"],"introduced":["0"],"last_affected":[],"package":"tinypool","purl":null,"source":"GHSA-5gmw-xhrv-c9v3"},{"ecosystem":"npm","fixed":["2.1.1"],"introduced":["0"],"last_affected":[],"package":"tinypool","purl":"pkg:npm/tinypool","source":"GHSA-5gmw-xhrv-c9v3"}],"prev":{"headline":"ProseMirror: XSS vulnerability in prosemirror-view's paste handling","id":"CVE-2026-104847"},"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-02","vendors":["tinylibs"]},"summary":"Prototype pollution in Tinypool allows attackers to inject code into worker threads via execArgv or env, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2026-104848/"}