payloadcms/payload · Security
Payload: Sort queries could expose protected field information
- GHSA ID
- GHSA-9g87-32v6-3c2r
- CVE ID
- CVE-2026-105805
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CWE-863 · Incorrect Authorization