SQL Injection Affecting @payloadcms/drizzle package, versions <3.73.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th 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-JS-PAYLOADCMSDRIZZLE-15240185
  • published6 Feb 2026
  • disclosed5 Feb 2026
  • creditthxtech

Introduced: 5 Feb 2026

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

How to fix?

Upgrade @payloadcms/drizzle to version 3.73.0 or higher.

Overview

@payloadcms/drizzle is an A library of shared functions used by different payload database adapters

Affected versions of this package are vulnerable to SQL Injection when querying JSON or richText fields. An attacker can extract sensitive information and gain unauthorized access to user accounts by injecting crafted SQL statements.

Note:

This is only exploitable if a Drizzle-based database adapter is used, at least one accessible collection contains a json or richText field, and the access.read permission for those fields is not set to always return false.

Workaround

This vulnerability can be mitigated by setting access: { read: () => false } on all JSON and richText fields.

References

CVSS Base Scores

version 4.0
version 3.1