@payloadcms/db-sqlite
Affected
- introduced
3.0.0, fixed3.90.0(semver)
Fixed versions
3.90.0
Fix
- Fixed version
3.90.0npm install @payloadcms/[email protected]
Advisory
Also known as: CVE-2026-105856, CVE-2026-63316
Payload: SQL injection in SQLite/Postgres
Impact
An attacker who has read plus create or update access to a collection can submit a request that includes a SQL injection targeting a specific field path shape and operators in Payload's SQLite and Postgres.
You are affected if:
@payloadcms/db-sqlite or @payloadcms/db-d1-sqlite.@payloadcms/db-postgres or @payloadcms/db-vercel-postgres < 3.73.0.json field, or a blocks field with blocksAsJSON: true.You are not affected if:
json or blocksAsJSONfields.richText` is not affected.Patches
The patched version sanitizes the query input to prevent injection.
Users should upgrade Payload packages to >= 3.90.0 or >= 4.0.0-canary.34.
High Basis: The source's own band: HIGH
3.0.0, fixed 3.90.0 (semver)3.90.0
3.90.0npm install @payloadcms/[email protected]3.0.0, fixed 3.90.0 (semver)3.90.0
3.90.0npm install @payloadcms/[email protected]3.0.0, fixed 3.73.0 (semver)3.73.0
3.73.0npm install @payloadcms/[email protected]3.0.0, fixed 3.73.0 (semver)3.73.0
3.73.0npm install @payloadcms/[email protected]4.0.0-canary.0, fixed 4.0.0-canary.34 (semver)4.0.0-canary.34
4.0.0-canary.34npm install @payloadcms/[email protected]4.0.0-canary.0, fixed 4.0.0-canary.34 (semver)4.0.0-canary.34
4.0.0-canary.34npm 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