CVE-2026-41149 Affecting langfuse-2 package, versions <2.95.12-r23


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.4% (32nd 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-LANGFUSE2-16786383
  • published21 May 2026
  • disclosed22 May 2026

Introduced: 21 May 2026

CVE-2026-41149  (opens in a new tab)

How to fix?

Upgrade Chainguard langfuse-2 to version 2.95.12-r23 or higher.

NVD Description

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

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Versions 10.9.5 and earlier, as well as 11.0.0-alpha.1 through 11.14.0, are vulnerable to HTML injection under the default configuration. Specifically, the classDef directive in Mermaid state diagrams permits DOM injection that escapes the SVG context. However, <script> tags are stripped, which prevents cross-site scripting (XSS). This issue has been fixed in versions 10.9.6 and 11.15.0. If developers are unable to immediately upgrade, they can work around this issue by setting "securityLevel": "sandbox", which prevents the issue by rendering the mermaid diagram in a sandboxed <iframe>.