MEDIUM 5.9
GHSA-827p-g5x5-h86c
Parse Server LiveQuery subscription with invalid regular expression crashes server
Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm / parse-server
Introduced in:
9.0.0 Fixed in: 9.6.0-alpha.19 Fix
npm install parse-server@9.6.0-alpha.19 References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-827p-g5x5-h86c [WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-32770 [ADVISORY]
- https://github.com/parse-community/parse-server/pull/10197 [WEB]
- https://github.com/parse-community/parse-server/pull/10199 [WEB]
- https://github.com/parse-community/parse-server [PACKAGE]