CVE-2026-105856: Payload SQL injection in JSON and blocks fields

CVE-2026-105856 · Severity: high · CVSS 4 · Published 2026-10-06

Payload is a headless content management system used to manage structured data and content. An attacker with read and create/update permissions to collections containing JSON or blocks fields can inject SQL commands through specially crafted field paths and operators, potentially accessing or modifying sensitive data in the underlying database.

Technologies: Payload. Vendors: npm, Payload.

Quick answers

Is CVE-2026-105856 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-105856 being exploited in the wild.
How severe is CVE-2026-105856?
High severity, with a CVSS score of 4, published 6 October 2026.
Which products and versions are affected?
@payloadcms/db-d1-sqlite (npm) SEMVER:introduced=3.0.0,fixed=3.90.0; @payloadcms/db-postgres (npm) SEMVER:introduced=3.0.0,fixed=3.73.0; @payloadcms/db-sqlite (npm) SEMVER:introduced=3.0.0,fixed=3.90.0; @payloadcms/db-vercel-postgres (npm) SEMVER:introduced=3.0.0,fixed=3.73.0; and 1 more.
Is there a fix for CVE-2026-105856?
Yes. @payloadcms/db-d1-sqlite (npm): upgrade to 3.90.0 or later; @payloadcms/db-postgres (npm): upgrade to 3.73.0 or later; @payloadcms/db-sqlite (npm): upgrade to 3.90.0 or later; @payloadcms/db-vercel-postgres (npm): upgrade to 3.73.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-105856 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-105856?
Check whether you run @payloadcms/db-d1-sqlite (npm), @payloadcms/db-postgres (npm), @payloadcms/db-sqlite (npm) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @payloadcms/db-d1-sqlite (npm): upgrade to 3.90.0 or later
    npm install @payloadcms/db-d1-sqlite@3.90.0
  • @payloadcms/db-postgres (npm): upgrade to 3.73.0 or later
    npm install @payloadcms/db-postgres@3.73.0
  • @payloadcms/db-sqlite (npm): upgrade to 3.90.0 or later
    npm install @payloadcms/db-sqlite@3.90.0
  • @payloadcms/db-vercel-postgres (npm): upgrade to 3.73.0 or later
    npm install @payloadcms/db-vercel-postgres@3.73.0

Technical details

SQL injection vulnerability in Payload's handling of JSON field paths and blocks fields with blocksAsJSON enabled. An attacker with existing read and create or update access to affected collections can exploit operators and field path segments to inject SQL. Collections without JSON or blocks fields, and richText fields, are not affected; remediation varies by database backend (SQLite vs PostgreSQL).

Affected products

  • Payload Payload Before 3.90.0 (SQLite); before 3.73.0 (PostgreSQL); before 4.0.0-canary.34

Identifiers

  • CVE-2026-105856
  • GHSA-pj7x-6wpf-pgvp

Timeline

  • 2026-10-06: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.