All vulnerabilities

Servers and applications

GHSA-963q-5h7v-p8w8

Query with many subqueries can consume excessive server CPU

Severity
Medium 6.9
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
9.12.0-alpha.9
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

While Parse Server resolved the subqueries of a query, it searched the query conditions again from the start after every subquery, including the results that had replaced the subqueries already resolved. For a query with many subqueries at the same nesting level, the CPU time therefore grew with the square of the number of subqueries, and with the number of results per subquery. A single request of a few hundred kilobytes could keep a CPU core of the server busy for many seconds, and a request of a few megabytes for minutes. The server continues to respond during such a request, but more slowly, and several such requests at the same time delay all other requests considerably.

The REST API is affected in the default configuration, and the GraphQL API where it is enabled. The client needs no session. It needs permission to query one class, which the user class and the role class give by default.

From parse-community/parse-server's security advisory. Shortened; the full text is there.

Workarounds

No complete workaround is known. Limiting the size of the request body, for example in a reverse proxy, limits the number of subqueries in a request and reduces the impact.

Workarounds as given by parse-community/parse-server's security advisory.

Affected software

SoftwareAffected versions
Parse ServerServers and applications · github:parse-community/parse-server
  • Every version before 9.12.0-alpha.9

About Parse Server

Parse Server for Node.js / Express

From its GitHub repository.
Weekly downloads (npm)
73,485npm, 29 Nov 2026
Docker Hub pulls
4,261,767Docker Hub, 29 Nov 2026
GitHub stars
21,401GitHub, 29 Nov 2026
Forks
4,816GitHub, 29 Nov 2026
Latest release
8.6.123GitHub, 29 Nov 2026
Released
9 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
28 Jan 2016GitHub

References