VDB
KO
HIGH

GHSA-37mj-c2wf-cx96

Parse Server exposes auth data via /users/me endpoint

Details

### Impact

An authenticated user calling `GET /users/me` receives unsanitized auth data, including sensitive credentials such as MFA TOTP secrets and recovery codes. The endpoint internally uses master-level authentication for the session query, and the master context leaks through to the user data, bypassing auth adapter sanitization. An attacker who obtains a user's session token can extract MFA secrets to generate valid TOTP codes indefinitely.

### Patches

The `/users/me` endpoint now queries the session and user data separately, using the caller's authentication context for the user query so that all security layers apply correctly.

### Workarounds

There is no known workaround.

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.55
Fix npm install parse-server@9.6.0-alpha.55
npm / parse-server
Introduced in: 0 Fixed in: 8.6.61
Fix npm install parse-server@8.6.61

References