NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-12644: ts-deepmerge: Prototype Method Override leads to DoS

mediumCVSS 4.0 5.5 · 3.1 5.3GHSA-87mf-gv2c-c62c

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.

Published Jun 19, 2026

Affected packages

ts-deepmerge

Ecosystem
npm
Affected
< 8.0.0
Fixed in
8.0.0
Check
npm ls ts-deepmerge

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology