Algorithmic Complexity Affecting langfuse-4 package, versions <4.77.0-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.44% (40th 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-CHAINGUARDLATEST-LANGFUSE4-22505306
  • published12 Nov 2026
  • disclosed10 Nov 2026

Introduced: 10 Nov 2026

NewCVE-2026-126066  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Chainguard langfuse-4 to version 4.77.0-r1 or higher.

NVD Description

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

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to 5.12.0, when the non-default stopNodes option is enabled, readStopNodeData() in OrderedObjParser.js calls readTagExp() for each less-than character in an unterminated stop-node body and repeatedly rescans the remaining input while looking for a closing greater-than character. An attacker who supplies XML containing many tag fragments without a later closing character can cause quadratic rescanning before parsing fails, blocking a Node.js event loop and causing CPU-exhaustion denial of service. This issue is fixed in version 5.12.0.