GHSA-v49j-62m6-pgrr

Suggest an improvement
Source
https://github.com/advisories/GHSA-v49j-62m6-pgrr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v49j-62m6-pgrr/GHSA-v49j-62m6-pgrr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-v49j-62m6-pgrr
Aliases
Published
2026-10-06T16:09:17Z
Modified
2026-10-06T16:15:05Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Payload: SQL Injection in SQLite and Postgres
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-89"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-06T16:09:17Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
}
References

Affected packages

npm / payload

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.88.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v49j-62m6-pgrr/GHSA-v49j-62m6-pgrr.json"

npm / payload

Package

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0-canary.0
Fixed
4.0.0-canary.27

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v49j-62m6-pgrr/GHSA-v49j-62m6-pgrr.json"