CVE-2026-12644: Uncaught Exception in ts-deepmerge
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.
AI Analysis
Technical Summary
The ts-deepmerge package prior to version 8.0.0 improperly handles built-in Object.prototype methods such as toString and valueOf during object merging. When user-controlled input contains these keys with non-function values, the merged object becomes corrupted. Any subsequent string context operation on this object triggers a TypeError, resulting in an uncaught exception that crashes the application. This vulnerability has a CVSS 4.0 base score of 6.9, indicating a medium severity level. No official patch or remediation guidance is currently documented.
Potential Impact
Exploitation of this vulnerability causes the application to crash due to uncaught TypeErrors when string operations are performed on the corrupted merged object. This can lead to denial of service conditions but does not indicate privilege escalation or data disclosure based on the available information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid merging user-controlled input that includes Object.prototype keys with non-function values or implement input validation to prevent such keys from being processed.
CVE-2026-12644: Uncaught Exception in ts-deepmerge
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.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ts-deepmerge package prior to version 8.0.0 improperly handles built-in Object.prototype methods such as toString and valueOf during object merging. When user-controlled input contains these keys with non-function values, the merged object becomes corrupted. Any subsequent string context operation on this object triggers a TypeError, resulting in an uncaught exception that crashes the application. This vulnerability has a CVSS 4.0 base score of 6.9, indicating a medium severity level. No official patch or remediation guidance is currently documented.
Potential Impact
Exploitation of this vulnerability causes the application to crash due to uncaught TypeErrors when string operations are performed on the corrupted merged object. This can lead to denial of service conditions but does not indicate privilege escalation or data disclosure based on the available information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid merging user-controlled input that includes Object.prototype keys with non-function values or implement input validation to prevent such keys from being processed.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-06-18T18:00:17.870Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a34df96f198dc38c19de562
Added to database: 6/19/2026, 6:20:06 AM
Last enriched: 6/19/2026, 6:36:09 AM
Last updated: 6/19/2026, 9:59:11 PM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.