All vulnerabilities

Servers and applications

GHSA-rmhf-xv62-rm99

Relation count query bypasses protectedFields for identity-scoped groups

Severity
Medium 5.3
Published
22 Sept 2026
Last changed
22 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
8.6.93, 9.10.1-alpha.13
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

A count query using the $relatedTo operator could read the size of a Relation field, and confirm whether a specific object is linked through it, even when that field was hidden from the requesting user by protectedFields. The check introduced for GHSA-wmwx-jr2p-4j4r was applied to find queries but not to count queries, and only for the public group: relation keys protected for the authenticated group, a role: group, or an individual user were not enforced on the count path.

An authenticated user who can read the object owning the relation could therefore learn the member count of a relation that is protected from them, or combine the count with an objectId constraint to use it as a membership oracle. This affects applications that rely on identity-scoped protectedFields to keep Relation membership confidential from signed-in users, such as private group memberships or block lists.

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

Workarounds

There is no complete workaround without upgrading. As mitigation, applications can protect sensitive Relation fields for the public group in addition to identity-scoped groups, deny the count class-level permission on the related class for untrusted users, or enforce access in a beforeFind trigger.

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 8.6.93
  • From 9.0.0 before 9.10.1-alpha.13

About Parse Server

Parse Server for Node.js / Express

From its GitHub repository.
Weekly downloads (npm)
54,531npm, 15 Nov 2026
Docker Hub pulls
4,250,088Docker Hub, 15 Nov 2026
GitHub stars
21,396GitHub, 15 Nov 2026
Forks
4,811GitHub, 15 Nov 2026
Latest release
8.6.123GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
28 Jan 2016GitHub

References