Advisory

GHSA-9g87-32v6-3c2r

Also known as: CVE-2026-105805

Summary

Payload: Sort queries could expose protected field information

Details

Impact
Under certain conditions, sorting readable records could reveal limited information about fields the requester was not permitted to read.

You are affected if untrusted users can query a collection, control its sorting, and sort by protected fields.

Patches
Payload now applies field-level access checks to sort fields before executing queries.

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

Workarounds
Upgrading is recommended. Until then, prevent untrusted users from controlling sort parameters or restrict their access to affected collections.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-06 15:38 UTC
Modified
2026-10-06 15:46 UTC

Affected packages and fixes

payload

npm · All systems

Affected

  • introduced 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