GitHub Advisoryadvisory · npm

GHSA-79wj-8rqv-jvp5 parse-server's endpoint `/loginAs` allows `readOnlyMasterKey` to gain full read and write access as any user

HIGH Published 2026-03-06 Modified 2026-03-06 Official page ↗
Aliases
CVE-2026-30229
Ecosystem
npm
Packages
parse-server
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-863
Reviewed
2026-03-06

Affected packages

• npm parse-server: < 8.6.6 → fixed in 8.6.6 • npm parse-server: >= 9.0.0, < 9.5.0-alpha.4 → fixed in 9.5.0-alpha.4

Description

Impact The `readOnlyMasterKey` can call `POST /loginAs` to obtain a valid session token for any user. This allows a read-only credential to impersonate arbitrary users with full read and write access to their data. Any Parse Server deployment that uses `readOnlyMasterKey` is affected. Patches The fix adds a check to the `/logInAs` handler. Workarounds There is no workaround other than not using `readOnlyMasterKey`. References • GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-79wj-8rqv-jvp5 • Fix for Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.0-alpha.4 • Fix for Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.6

Related

Alias · CVE (1)

  • CVE-2026-30229 Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References