Loading...
Skip to main content

CVE-2026-105856 — Payload: SQL injection in...

HIGH

Payload: SQL injection in SQLite/Postgres

Published October 7, 2026Updated October 7, 2026Source: osv

Summary

### 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: - You use `@payloadcms/db-sqlite` or `@payloadcms/db-d1-sqlite`. - You use `@payloadcms/db-postgres` or `@payloadcms/db-vercel-postgres` `< 3.73.0`. - A readable collection has a `json` field, or a` blocks` field with `blocksAsJSON: true`. - The attacker has read plus create or update access on it. #### You are not affected if: - You have no `json or `blocksAsJSON` fields. `richText` is not affected. - You run a patched version. ### 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`.

Advisory Timeline

  • First published October 7, 2026 (4 days ago).
  • Last revised October 7, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update @payloadcms/db-postgres to 3.73.0 or later
npm install @payloadcms/db-postgres@3.73.0
npm
Update @payloadcms/db-sqlite to 3.90.0 or later
npm install @payloadcms/db-sqlite@3.90.0
npm
Update @payloadcms/db-vercel-postgres to 3.73.0 or later
npm install @payloadcms/db-vercel-postgres@3.73.0
npm
Update @payloadcms/db-d1-sqlite to 3.90.0 or later
npm install @payloadcms/db-d1-sqlite@3.90.0
npm
Update @payloadcms/db-sqlite to 4.0.0-canary.34 or later
npm install @payloadcms/db-sqlite@4.0.0-canary.34
npm
Update @payloadcms/db-d1-sqlite to 4.0.0-canary.34 or later
npm install @payloadcms/db-d1-sqlite@4.0.0-canary.34

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: npm (4).

PackageEcosystemAffectedFixed In
@payloadcms/db-postgres
npm
All versions3.73.0
@payloadcms/db-sqlite
npm
All versions3.90.0
@payloadcms/db-vercel-postgres
npm
All versions3.73.0
@payloadcms/db-d1-sqlite
npm
All versions3.90.0
@payloadcms/db-sqlite
npm
All versions4.0.0-canary.34
@payloadcms/db-d1-sqlite
npm
All versions4.0.0-canary.34

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-105856?
Payload: SQL injection in SQLite/Postgres This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2026-105856?
CVE-2026-105856 affects @payloadcms/db-postgres, @payloadcms/db-sqlite and @payloadcms/db-vercel-postgres (and 1 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-105856 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-pj7x-6wpf-pgvp

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies