SQL Injection Affecting spicedb package, versions <1.51.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (1st 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-SPICEDB-16437386
  • published7 May 2026
  • disclosed8 May 2026

Introduced: 7 May 2026

NewCVE-2026-41889  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Wolfi spicedb to version 1.51.1-r1 or higher.

NVD Description

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

pgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2.