{"id":"GHSA-9g87-32v6-3c2r","summary":"Payload: Sort queries could expose protected field information","details":"### Impact\nUnder certain conditions, sorting readable records could reveal limited information about fields the requester was not permitted to read.\n\nYou are affected if untrusted users can query a collection, control its sorting, and sort by protected fields.\n\n### Patches\nPayload now applies field-level access checks to sort fields before executing queries.\n\nUsers should upgrade to `\u003e= 3.88.0` or `\u003e= 4.0.0-canary.27`.\n\n### Workarounds\nUpgrading is recommended. Until then, prevent untrusted users from controlling sort parameters or restrict their access to affected collections.","aliases":["CVE-2026-105805"],"modified":"2026-10-06T15:45:09.626259927Z","published":"2026-10-06T15:38:32Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-06T15:38:32Z","nvd_published_at":null,"cwe_ids":["CWE-200","CWE-863"]},"references":[{"type":"WEB","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-9g87-32v6-3c2r"},{"type":"WEB","url":"https://github.com/payloadcms/payload/commit/a742140ab4fca3160f7f83e9e7d996552ffc3b5a"},{"type":"PACKAGE","url":"https://github.com/payloadcms/payload"},{"type":"WEB","url":"https://github.com/payloadcms/payload/releases/tag/v3.88.0"}],"affected":[{"package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.88.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-9g87-32v6-3c2r/GHSA-9g87-32v6-3c2r.json"}},{"package":{"name":"payload","ecosystem":"npm","purl":"pkg:npm/payload"},"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-9g87-32v6-3c2r/GHSA-9g87-32v6-3c2r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}