Parse Server LiveQuery subscription with invalid regular expression crashes server
Moderate severity
GitHub Reviewed
Published
Mar 16, 2026
in
parse-community/parse-server
•
Updated Mar 19, 2026
Package
Affected versions
>= 9.0.0, < 9.6.0-alpha.19
< 8.6.43
Patched versions
9.6.0-alpha.19
8.6.43
Description
Published to the GitHub Advisory Database
Mar 17, 2026
Reviewed
Mar 17, 2026
Published by the National Vulnerability Database
Mar 18, 2026
Last updated
Mar 19, 2026
Impact
A remote attacker can crash the Parse Server by subscribing to a LiveQuery with an invalid regular expression pattern. The server process terminates when the invalid pattern reaches the regex engine during subscription matching, causing denial of service for all connected clients.
Patches
The fix validates regular expression patterns at subscription time, rejecting invalid patterns before they are stored. Additionally, a defense-in-depth try-catch prevents any subscription matching error from crashing the server process.
Workarounds
Disable LiveQuery if it is not needed.
References