parse-server
Affected
- introduced
9.0.0, fixed9.7.0-alpha.12(semver)
Fixed versions
9.7.0-alpha.12
Fix
- Fixed version
9.7.0-alpha.12npm install [email protected]
Advisory
Also known as: BIT-parse-2026-34573, CVE-2026-34573
parse-server has GraphQL complexity validator exponential fragment traversal DoS
Impact
The GraphQL query complexity validator can be exploited to cause a denial-of-service by sending a crafted query with binary fan-out fragment spreads. A single unauthenticated request can block the Node.js event loop for seconds, denying service to all concurrent users. This only affects deployments that have enabled the requestComplexity.graphQLDepth or requestComplexity.graphQLFields configuration options.
Patches
The fix replaces the per-branch fragment traversal with memoized fragment computation, reducing the traversal from exponential O(2^N) to linear O(N) time. Additionally, early termination aborts the traversal as soon as configured limits are exceeded.
Workarounds
Disable GraphQL complexity limits by setting requestComplexity.graphQLDepth and requestComplexity.graphQLFields to -1 (the default).
Resources
High Basis: The source's own band: HIGH
9.0.0, fixed 9.7.0-alpha.12 (semver)9.7.0-alpha.12
9.7.0-alpha.12npm install [email protected]0, fixed 8.6.68 (semver)8.6.68
8.6.68npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0