Loop with Unreachable Exit Condition ('Infinite Loop') Affecting langfuse-4-worker package, versions <4.21.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-LANGFUSE4WORKER-19272080
  • published27 Aug 2026
  • disclosed6 Aug 2026

Introduced: 6 Aug 2026

NewCVE-2026-71436  (opens in a new tab)
CWE-835  (opens in a new tab)
CWE-1325  (opens in a new tab)

How to fix?

Upgrade Minimos:latest langfuse-4-worker to version 4.21.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream langfuse-4-worker package and not the langfuse-4-worker package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRangeData function when configuring an X-Axis with invalid parameters. Because each loop iteration appends an element to an array, this generally causes a RangeError to appear after a few seconds, but it may instead cause the page or JavaScript process to crash from memory exhaustion, depending on the environment. This issue is fixed in versions 10.9.8 and 11.16.1.