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 package | Versions | Reported by |
|---|---|---|
| Payload Payload CMS | before 3.90.0, from 4.0.0-canary.0 before 4.0.0-canary.34 | CVE List |
| @payloadcms/db-sqlite (npm) | from 3.0.0 before 3.90.0, from 4.0.0-canary.0 before 4.0.0-canary.34 | GitHub 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.34 | GitHub Advisory Database |
| @payloadcms/db-postgres (npm) | from 3.0.0 before 3.73.0 | GitHub Advisory Database |
| @payloadcms/db-vercel-postgres (npm) | from 3.0.0 before 3.73.0 | GitHub Advisory Database |
All scores
| CERT-PL | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | 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 |
Classification
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-sqliteor@payloadcms/db-d1-sqlite. - You use
@payloadcms/db-postgresor@payloadcms/db-vercel-postgres< 3.73.0. - A readable collection has a
jsonfield, or ablocksfield withblocksAsJSON: true. - The attacker has read plus create or update access on it.
You are not affected if:
- You have no
json orblocksAsJSONfields.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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63316 changed 2026-10-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pj7x-6wpf-pgvp changed 2026-10-14 | CC-BY-4.0 |
| NVD | CVE-2026-63316 changed 2026-10-16 | Public domain |