8.2

CVE-2026-40345: rebeccastevens deepmerge-ts Uncontrolled Recursion

CVSS: 8.2v4.0HighDeferred
AliasesCGA-9m3r-qx24-w8gmCGA-c6q6-4fgp-h74pCGA-f86r-72mg-45fq
Published 20-08-2026Last modified 21-08-2026

Vulnerability summary

CVE-2026-40345 is a high (CVSS 8.2) Uncontrolled Recursion vulnerability in rebeccastevens deepmerge-ts. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.5% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v4.0 (CVE.org)
EPSS score
0.52%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 20-08-2026
    PublishedVulnerability first disclosed.
  2. 21-08-2026
    Last modifiedVulnerability information updated.

Description

deepmerge-ts is a typescript library providing functionality to deep merging of javascript objects. Prior to 8.0.0, the deepmerge, deepmergeCustom, deepmergeInto, and deepmergeIntoCustom APIs do not track visited objects or object pairs when recursively merging records. When two input values contain self-references at the same property path, the merge logic repeatedly revisits the same pair until Node.js raises RangeError: Maximum call stack size exceeded. Applications that merge attacker-controlled recursive object graphs can synchronously crash the affected process or cause repeated worker restarts. Plain JSON input alone cannot create the recursive graph required to trigger the issue. This issue is fixed in version 8.0.0.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.52%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

+0.06 pp

From 0.47% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.52%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard16 products
  • authentik-2025.12All versions (No fix recorded)
  • authentik-2026.2All versions (No fix recorded)
  • authentik-2026.5< 2026.5.6-r15
  • authentik-fips-2025.12All versions (No fix recorded)
  • authentik-fips-2026.2All versions (No fix recorded)
Wolfi4 products
  • jitsucom-jitsu-consoleAll versions (No fix recorded)
  • langfuse-3< 3.225.5-r0
  • langfuse-3-compat< 3.225.7-r6
  • langfuse-3-worker< 3.225.5-r0
Npm1 product
  • deepmerge-ts< 8.0.0
Rebeccastevens1 product

4 vendors · 22 products

References

7 links