CVE-2026-63316
JSON

8.7high

SQL Injection in Payload CMS

Severity
8.7high CVSS:4.0 by CERT-PL
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CERT-PL
Also known as
GHSA-pj7x-6wpf-pgvp

Description

A SQL injection vulnerability has been identified in Payload CMS. Improper neutralization of input provided by user into "in" and "not_in" query paramethers allows an authenticated attacker to perform SQL Injection attacks. This issue was fixed in version 3.90.0 and 4.0.0-canary.34.

Affected

Product or packageVersionsReported by
Payload Payload CMSbefore 3.90.0, from 4.0.0-canary.0 before 4.0.0-canary.34CVE List
@payloadcms/db-sqlite (npm)from 3.0.0 before 3.90.0, from 4.0.0-canary.0 before 4.0.0-canary.34GitHub Advisory Database
@payloadcms/db-d1-sqlite (npm)from 3.0.0 before 3.90.0, from 4.0.0-canary.0 before 4.0.0-canary.34GitHub Advisory Database
@payloadcms/db-postgres (npm)from 3.0.0 before 3.73.0GitHub Advisory Database
@payloadcms/db-vercel-postgres (npm)from 3.0.0 before 3.73.0GitHub Advisory Database

All scores

CERT-PL8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A SQL injection vulnerability has been identified in Payload CMS. Improper neutralization of input provided by user into "in" and "not_in" query paramethers allows an authenticated attacker to perform SQL Injection attacks. This issue was fixed in version 3.90.0 and 4.0.0-canary.34.

GitHub Advisory Database
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 blocksAsJSONfields.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.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-63316 changed 2026-10-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-pj7x-6wpf-pgvp changed 2026-10-14CC-BY-4.0
NVDCVE-2026-63316 changed 2026-10-16Public domain