Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @payloadcms/drizzle
  4. ›
  5. CVE-2026-25544

CVE-2026-25544: @payloadcms/drizzle has SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters

February 5, 2026 (updated February 7, 2026)

When querying JSON or richText fields, user input was directly embedded into SQL without escaping, enabling blind SQL Injection attacks. An unauthenticated attacker could extract sensitive data (emails, password reset tokens) and achieve full account takeover without password cracking.

Users are affected if ALL of these are true:

  1. Payload version < v3.73.0
  2. Using a Drizzle-based database adapter (@payloadcms/drizzle as dependency):
  • @payloadcms/db-postgres
  • @payloadcms/db-vercel-postgres
  • @payloadcms/db-sqlite
  • @payloadcms/db-d1-sqlite
  1. At least one accessible collection that has a type: 'json' or type: 'richText' field where access.read returns anything other than false (true or Where constraint)

Users are NOT affected if:

  • Using @payloadcms/db-mongodb
  • No JSON or richText fields exist in any collection
  • All JSON/richText fields have access: { read: () => false }

References

  • github.com/advisories/GHSA-xx6w-jxg9-2wh8
  • github.com/payloadcms/payload
  • github.com/payloadcms/payload/security/advisories/GHSA-xx6w-jxg9-2wh8
  • nvd.nist.gov/vuln/detail/CVE-2026-25544

Code Behaviors & Features

Detect and mitigate CVE-2026-25544 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.73.0

Fixed versions

  • 3.73.0

Solution

Upgrade to version 3.73.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/@payloadcms/drizzle/CVE-2026-25544.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 07 Feb 2026 12:19:21 +0000.