CVE-2026-105845
JSON

9.8critical

Payload: SQL Injection in SQLite and Postgres

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v49j-62m6-pgrr

Description

Payload is a free and open source headless content management system. In versions from 3.0.0 before 3.88.0 and canary versions before 4.0.0-canary.27, an untrusted user who can query readable collections through dynamic filters or joins can submit a request that causes SQL injection in the SQLite and Postgres adapters. This issue is fixed in versions 3.88.0 and 4.0.0-canary.27.

Affected

Product or packageVersionsReported by
payloadcms payload>= 3.0.0, < 3.88.0, >= 4.0.0-canary.0, < 4.0.0-canary.27CVE List
payload (npm)from 3.0.0 before 3.88.0, from 4.0.0-canary.0 before 4.0.0-canary.27GitHub Advisory Database

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

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

What each source says

CVE List

Payload is a free and open source headless content management system. In versions from 3.0.0 before 3.88.0 and canary versions before 4.0.0-canary.27, an untrusted user who can query readable collections through dynamic filters or joins can submit a request that causes SQL injection in the SQLite and Postgres adapters. This issue is fixed in versions 3.88.0 and 4.0.0-canary.27.

GitHub Advisory Database
Impact

A user can submit a request that exploits a SQL Injection vulnerability in Payload.

You are affected if:

  • You use an affected Payload version.
  • Untrusted users can query readable collections using dynamic filters or joins.

You are not affected if you use MongoDB (@payloadcms/mongodb).

Patches

Users should upgrade Payload packages to >= 3.88.0 or >= 4.0.0-canary.27.

Workarounds

Upgrading to a patched version is recommended. Until you can upgrade, restrict untrusted users from supplying dynamic query filters or join parameters and limit read access to affected collections.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-105845 changed 2026-10-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-v49j-62m6-pgrr changed 2026-10-06CC-BY-4.0
NVDCVE-2026-105845 changed 2026-10-06Public domain