{"answers":{"affected":"2 open source packages ship an affected version, including ts-deepmerge.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-12644 exists.","fix":"Upgrade ts-deepmerge to 8.0.0 or later.","what":"CVE-2026-12644 is a medium-severity denial of service vulnerability in ts-deepmerge, published on 19 Jun 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-12644 and fix it if it is affected.\n\nWhat it is: CVE-2026-12644 is a medium-severity denial of service vulnerability in ts-deepmerge, published on 19 Jun 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-12644 exists.\n\nAffected packages and fixed versions:\n- ts-deepmerge (npm): affected all versions; fixed in 8.0.0\n- ts-deepmerge (npm): affected all versions; fixed in 8.0.0\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-12644/ (Markdown: https://insights.sbomify.com/CVE-2026-12644/index.md)","id":"CVE-2026-12644","markdown":"https://insights.sbomify.com/CVE-2026-12644/index.md","name":"CVE-2026-12644","record":{"aliases":["CLSA-2026-1792473266","CLSA-2026-1792490574","GHSA-87mf-gv2c-c62c"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"TypeScript deep merge library","requires_auth":"none","summary":"An attacker can crash the application by providing input with specific Object.prototype keys, causing uncaught exceptions in the ts-deepmerge library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"description":"Versions of the package ts-deepmerge before 8.0.0 are vulnerable to Uncaught Exception due to the improper handling of built-in Object.prototype methods (such as toString, valueOf). When user-controlled input contains these keys with non-function values, the resulting merged object becomes broken — any string context operation throws a TypeError, crashing the application.","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":"ts-deepmerge: Prototype Method Override leads to DoS","id":"CVE-2026-12644","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Missing authorization in Ivanti Neurons for ITSM","id":"CVE-2026-12645"},"packages":[{"ecosystem":"npm","fixed":["8.0.0"],"introduced":["0"],"last_affected":[],"package":"ts-deepmerge","purl":null,"source":"GHSA-87mf-gv2c-c62c"},{"ecosystem":"npm","fixed":["8.0.0"],"introduced":["0"],"last_affected":[],"package":"ts-deepmerge","purl":"pkg:npm/ts-deepmerge","source":"GHSA-87mf-gv2c-c62c"}],"prev":{"headline":"Reliance on Reverse DNS Resolution for a Security-Critical Action in GitLab","id":"CVE-2026-12635"},"products":["ts-deepmerge"],"published":"2026-06-19","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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-22","vendors":["n/a"]},"summary":"An attacker can crash the application by providing input with specific Object.prototype keys, causing uncaught exceptions in the ts-deepmerge library.","url":"https://insights.sbomify.com/CVE-2026-12644/"}