Advisory

GHSA-v49j-62m6-pgrr

Also known as: CVE-2026-105845

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-10-06 16:09 UTC
Modified
2026-10-06 16:15 UTC

Affected packages and fixes

payload

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.88.0 (semver)

Fixed versions

3.88.0

Fix

payload

npm · All systems

Affected

  • introduced 4.0.0-canary.0, fixed 4.0.0-canary.27 (semver)

Fixed versions

4.0.0-canary.27

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences