{"id":"GHSA-5hmj-jcgp-6hff","summary":"Parse Server leaks protected fields via LiveQuery afterEvent trigger","details":"### Impact\n\nWhen a `Parse.Cloud.afterLiveQueryEvent` trigger is registered for a class, the LiveQuery server leaks protected fields and `authData` to all subscribers of that class. Fields configured as protected via Class-Level Permissions (`protectedFields`) are included in LiveQuery event payloads for all event types (create, update, delete, enter, leave).\n\nAny user with sufficient CLP permissions to subscribe to the affected class can receive protected field data of other users, including sensitive personal information and OAuth tokens from third-party authentication providers.\n\n### Patches\n\nThe vulnerability was caused by a reference detachment bug. When an `afterEvent` trigger is registered, the LiveQuery server converts the event object to a `Parse.Object` for the trigger, then creates a new JSON copy via `toJSONwithObjects()`. The sensitive data filter was applied to the `Parse.Object` reference, but the unfiltered JSON copy was sent to clients. The fix ensures that the JSON copy is assigned back to the response object before filtering, so the filter operates on the actual data sent to clients.\n\n### Workarounds\n\nRemove all `Parse.Cloud.afterLiveQueryEvent` trigger registrations. Without an `afterEvent` trigger, the reference detachment does not occur and protected fields are correctly filtered.","aliases":["BIT-parse-2026-33163","CVE-2026-33163"],"modified":"2026-03-20T12:26:07.989381Z","published":"2026-03-18T19:49:27Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-03-18T19:49:27Z","nvd_published_at":"2026-03-18T22:16:26Z","cwe_ids":["CWE-200"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-5hmj-jcgp-6hff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33163"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/pull/10232"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/pull/10233"},{"type":"PACKAGE","url":"https://github.com/parse-community/parse-server"}],"affected":[{"package":{"name":"parse-server","ecosystem":"npm","purl":"pkg:npm/parse-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.0.0"},{"fixed":"9.6.0-alpha.35"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5hmj-jcgp-6hff/GHSA-5hmj-jcgp-6hff.json"}},{"package":{"name":"parse-server","ecosystem":"npm","purl":"pkg:npm/parse-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.6.50"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5hmj-jcgp-6hff/GHSA-5hmj-jcgp-6hff.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}