SQL Injection Affecting langfuse-2 package, versions <2.95.12-r16


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.42% (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-CHAINGUARDLATEST-LANGFUSE2-15891588
  • published4 Apr 2026
  • disclosed26 Mar 2026

Introduced: 26 Mar 2026

CVE-2026-33468  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Chainguard langfuse-2 to version 2.95.12-r16 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.

Kysely is a type-safe TypeScript SQL query builder. Prior to version 0.28.14, Kysely's DefaultQueryCompiler.sanitizeStringLiteral() only escapes single quotes by doubling them (&#39;&#39;&#39;) but does not escape backslashes. When used with the MySQL dialect (where NO_BACKSLASH_ESCAPES is OFF by default), an attacker can use a backslash to escape the trailing quote of a string literal, breaking out of the string context and injecting arbitrary SQL. This affects any code path that uses ImmediateValueTransformer to inline values — specifically CreateIndexBuilder.where() and CreateViewBuilder.as(). Version 0.28.14 contains a fix.