GHSA-v49j-62m6-pgrr: SQL Injection

Published Oct 6, 2026
·
Updated

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.

Affected Software

2 affected componentsFixes available
npm/payload>=4.0.0-canary.0<4.0.0-canary.27
4.0.0-canary.27
npm/payload>=3.0.0<3.88.0
3.88.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/payload to a version that resolves this vulnerability.

    Fixed in 4.0.0-canary.27
  2. Upgrade

    Upgrade npm/payload to a version that resolves this vulnerability.

    Fixed in 3.88.0
  3. Upgrade

    Upgrade Payload packages to a version that resolves this vulnerability.

    Fixed in 3.88.0
  4. Upgrade

    Upgrade Payload packages to a version that resolves this vulnerability.

    Fixed in 4.0.0-canary.27
  5. Compensating control

    Restrict untrusted users from supplying dynamic query filters or join parameters, and limit read access to affected collections until Payload is upgraded.

Event History

Oct 6, 2026
Advisory Published
via GitHub·04:09 PM
Data Sourced
via GitHub·04:09 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using an affected Payload version are exposed when untrusted users can query readable collections through dynamic filters or join parameters. Deployments using the MongoDB adapter (@payloadcms/mongodb) are not affected.

2

What access does an attacker need to exploit it?

An attacker must be able to submit requests that supply dynamic query filters or join parameters against collections they can read. No authenticated access is necessarily required if untrusted users can make those queries anonymously.

3

What can be done before upgrading?

Restrict untrusted users from supplying dynamic query filters or join parameters, and limit read access to affected collections. Upgrade Payload packages to version 3.88.0 or later, or 4.0.0-canary.27 or later, as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203