Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-105856

HIGH 8.6EPSS 38%

Payload: SQL injection in SQLite/Postgres

Also known as CVE-2026-63316, GHSA-pj7x-6wpf-pgvp

Mitigation

  • Upgrade @payloadcms/db-sqlite to one of 3.90.0, 4.0.0-canary.34 (or later in the same release line).
  • Upgrade @payloadcms/db-d1-sqlite to one of 3.90.0, 4.0.0-canary.34 (or later in the same release line).
  • Upgrade @payloadcms/db-postgres to 3.73.0 or later.
  • Upgrade @payloadcms/db-vercel-postgres to 3.73.0 or later.

Who should check

  • Projects that depend on npm package @payloadcms/db-sqlite (>= 3.0.0, < 3.90.0)
  • Projects that depend on npm package @payloadcms/db-d1-sqlite (>= 3.0.0, < 3.90.0)
  • Projects that depend on npm package @payloadcms/db-postgres (>= 3.0.0, < 3.73.0)
  • Projects that depend on npm package @payloadcms/db-vercel-postgres (>= 3.0.0, < 3.73.0)
  • Anyone running payloadcms payload >= 3.0.0, < 3.90.0; >= 4.0.0-canary.0, < 4.0.0-canary.34
  • Anyone running @payloadcms db-d1-sqlite >= 3.0.0, < 3.90.0; >= 4.0.0-canary.0, < 4.0.0-canary.34
  • Anyone running @payloadcms db-postgres >= 3.0.0 < 3.73.0
  • Anyone running @payloadcms db-sqlite >= 3.0.0, < 3.90.0; >= 4.0.0-canary.0, < 4.0.0-canary.34

Vulnerability facts

Affected
@payloadcms/db-sqlite >= 3.0.0, < 3.90.0; @payloadcms/db-d1-sqlite >= 3.0.0, < 3.90.0; @payloadcms/db-postgres >= 3.0.0, < 3.73.0; @payloadcms/db-vercel-postgres >= 3.0.0, < 3.73.0
Fixed in
3.90.0, 4.0.0-canary.34, 3.73.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.6 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.52% chance of exploitation in 30 days (percentile 38, 2026-11-26)
CWE
CWE-89
Published
Modified

Description

Payload is a free and open source headless content management system. Prior to 3.90.0 and 4.0.0-canary.34, an attacker with read and create or update access to a collection containing a json field or a blocks field with blocksAsJSON enabled can inject SQL through a crafted field path and operators. Collections without those fields are not affected, and richText fields are not affected. The SQLite packages are fixed in versions 3.90.0 and 4.0.0-canary.34, and the Postgres packages are fixed in version 3.73.0.

Affected and fixed versions

Package / productAffectedFixedSource
npm @payloadcms/db-sqlite>= 3.0.0, < 3.90.03.90.0, 4.0.0-canary.34osv
npm @payloadcms/db-d1-sqlite>= 3.0.0, < 3.90.03.90.0, 4.0.0-canary.34osv
npm @payloadcms/db-postgres>= 3.0.0, < 3.73.03.73.0osv
npm @payloadcms/db-vercel-postgres>= 3.0.0, < 3.73.03.73.0osv
payloadcms payload>= 3.0.0, < 3.90.0; >= 4.0.0-canary.0, < 4.0.0-canary.34—cvelist
@payloadcms db-d1-sqlite>= 3.0.0, < 3.90.0; >= 4.0.0-canary.0, < 4.0.0-canary.34—cvelist
@payloadcms db-postgres>= 3.0.0 < 3.73.0—cvelist
@payloadcms db-sqlite>= 3.0.0, < 3.90.0; >= 4.0.0-canary.0, < 4.0.0-canary.34—cvelist
@payloadcms db-vercel-postgres>= 3.0.0 < 3.73.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-105856. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-105856.md
Affected: @payloadcms/db-sqlite >= 3.0.0, < 3.90.0; @payloadcms/db-d1-sqlite >= 3.0.0, < 3.90.0; @payloadcms/db-postgres >= 3.0.0, < 3.73.0; @payloadcms/db-vercel-postgres >= 3.0.0, < 3.73.0
Fixed in: 3.90.0, 4.0.0-canary.34, 3.73.0

Steps:
1. Search this machine and project for @payloadcms/db-sqlite (npm), @payloadcms/db-d1-sqlite (npm), @payloadcms/db-postgres (npm), @payloadcms/db-vercel-postgres (npm), payloadcms payload, @payloadcms db-d1-sqlite: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-105856 being exploited?

There is no confirmed exploitation: CVE-2026-105856 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-105856?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-105856?

@payloadcms/db-sqlite >= 3.0.0, < 3.90.0; @payloadcms/db-d1-sqlite >= 3.0.0, < 3.90.0; @payloadcms/db-postgres >= 3.0.0, < 3.73.0; @payloadcms/db-vercel-postgres >= 3.0.0, < 3.73.0.

Is there a fix for CVE-2026-105856?

Yes. Fixed in 3.90.0, 4.0.0-canary.34, 3.73.0. Upgrade @payloadcms/db-sqlite to one of 3.90.0, 4.0.0-canary.34 (or later in the same release line). Upgrade @payloadcms/db-d1-sqlite to one of 3.90.0, 4.0.0-canary.34 (or later in the same release line). Upgrade @payloadcms/db-postgres to 3.73.0 or later. Upgrade @payloadcms/db-vercel-postgres to 3.73.0 or later.

How do I check if I'm affected by CVE-2026-105856?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors