All reports
High

parse-server's endpoint `/loginAs` allows `readOnlyMasterKey` to gain full read and write access as any user

Affected versions

Affected versions
< 8.6.6
Fixed version
8.6.6
Affected versions
>= 9.0.0, < 9.5.0-alpha.4
Fixed version
9.5.0-alpha.4

Exploitation

CVE-2026-30229

Probability of exploitation in the next 30 days: 0.43%

FIRST EPSS · 2026-11-22

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

Links

Credits

  • devanshbatham
  • mtrezza