@payloadcms/drizzle
Affected
- introduced
0, fixed3.73.0(semver)
Fixed versions
3.73.0
Fix
- Fixed version
3.73.0npm install @payloadcms/[email protected]
Advisory
Also known as: CVE-2026-25544
@payloadcms/drizzle has SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters
Impact
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:
@payloadcms/drizzle as dependency):@payloadcms/db-postgres@payloadcms/db-vercel-postgres@payloadcms/db-sqlite@payloadcms/db-d1-sqlitetype: 'json' or type: 'richText' field where access.read returns anything other than false (true or Where constraint)Users are NOT affected if:
@payloadcms/db-mongodbaccess: { read: () => false }Patches
Upgrade to Payload v3.73.0 or later.
Workarounds
If a project cannot upgrade immediately, add access: { read: () => false } to all JSON and richText fields as a temporary mitigation.
Critical Basis: The source's own band: CRITICAL
0, fixed 3.73.0 (semver)3.73.0
3.73.0npm install @payloadcms/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0