GHSA-827p-g5x5-h86c

Suggest an improvement
Source
https://github.com/advisories/GHSA-827p-g5x5-h86c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-827p-g5x5-h86c/GHSA-827p-g5x5-h86c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-827p-g5x5-h86c
Aliases
Published
2026-03-17T18:37:30Z
Modified
2026-03-20T12:26:07Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
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.

Database specific
{
    "cwe_ids":  [
        "CWE-248"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-17T18:37:30Z",
    "nvd_published_at":  "2026-03-18T22:16:25Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
9.0.0
Fixed
9.6.0-alpha.19

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-827p-g5x5-h86c/GHSA-827p-g5x5-h86c.json"

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
8.6.43

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-827p-g5x5-h86c/GHSA-827p-g5x5-h86c.json"