Parse Server leaks protected fields via LiveQuery afterEvent trigger
High severity
GitHub Reviewed
Published
Mar 17, 2026
in
parse-community/parse-server
•
Updated Mar 19, 2026
Package
Affected versions
>= 9.0.0, < 9.6.0-alpha.35
< 8.6.50
Patched versions
9.6.0-alpha.35
8.6.50
Description
Published to the GitHub Advisory Database
Mar 18, 2026
Reviewed
Mar 18, 2026
Published by the National Vulnerability Database
Mar 18, 2026
Last updated
Mar 19, 2026
Impact
When a
Parse.Cloud.afterLiveQueryEventtrigger is registered for a class, the LiveQuery server leaks protected fields andauthDatato 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).Any 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.
Patches
The vulnerability was caused by a reference detachment bug. When an
afterEventtrigger is registered, the LiveQuery server converts the event object to aParse.Objectfor the trigger, then creates a new JSON copy viatoJSONwithObjects(). The sensitive data filter was applied to theParse.Objectreference, 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.Workarounds
Remove all
Parse.Cloud.afterLiveQueryEventtrigger registrations. Without anafterEventtrigger, the reference detachment does not occur and protected fields are correctly filtered.References