Advisory

GHSA-87mf-gv2c-c62c

Also known as: CVE-2026-12644

Summary

ts-deepmerge: Prototype Method Override leads to DoS

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-19 06:31 UTC
Modified
2026-06-19 21:56 UTC

Affected packages and fixes

ts-deepmerge

npm · All systems

Affected

  • introduced 0, fixed 8.0.0 (semver)

Fixed versions

8.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences