CVE-2026-27804: Parse Server: Account takeover via JWT algorithm confusion in Google auth adapter
Impact An unauthenticated attacker can forge a Google authentication token with alg: "none" to log in as any user linked to a Google account, without knowing their credentials. All deployments with Google authentication enabled are affected.
Published Feb 25, 2026 · Updated Feb 27, 2026
Affected packages
parse-server
- Ecosystem
- npm
- Affected
- >= 9.0.0, <= 9.3.1-alpha.3
- Fixed in
- 9.3.1-alpha.4
- Check
npm ls parse-server
parse-server
- Ecosystem
- npm
- Affected
- <= 8.6.2
- Fixed in
- 8.6.3
- Check
npm ls parse-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
An unauthenticated attacker can forge a Google authentication token with alg: "none" to log in as any user linked to a Google account, without knowing their credentials. All deployments with Google authentication enabled are affected.
Patches
The fix hardcodes the expected RS256 algorithm instead of trusting the JWT header, and replaces the Google adapter's custom key fetcher with jwks-rsa which rejects unknown key IDs.
Workarounds
Disable Google authentication until you can upgrade.
References
- GitHub advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-4q3h-vp4r-prv2
- Fixed in Parse Server 9.3.1-alpha.4: https://github.com/parse-community/parse-server/releases/tag/9.3.1-alpha.4
- Fixed in Parse Server 8.6.3: https://github.com/parse-community/parse-server/releases/tag/8.6.3
Credited to sebastianosrt, mtrezza.
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-4q3h-vp4r-prv2
- https://github.com/parse-community/parse-server/commit/9b94083accb7f3e72c6b8126c195c7a03dd2dfd7
- https://github.com/parse-community/parse-server/commit/9d5942d50e55c822924c27b05aa98f1393e7a330
- https://github.com/parse-community/parse-server/releases/tag/8.6.3
- https://github.com/parse-community/parse-server/releases/tag/9.3.1-alpha.4
- https://nvd.nist.gov/vuln/detail/CVE-2026-27804
- https://github.com/advisories/GHSA-4q3h-vp4r-prv2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-34532
parse-server has cloud function validator bypass via prototype chain traversal
critical9.1Mar 31, 2026CVE-2026-32242
Parse Server's OAuth2 adapter shares mutable state across providers via singleton instance
critical9.1Mar 12, 2026CVE-2026-32248
Parse Server: Account takeover via operator injection in authentication data identifier
critical9.3Mar 12, 2026CVE-2026-30965
Parse Server vulnerable to session token exfiltration via `redirectClassNameForKey` query parameter
critical9.9Mar 11, 2026CVE-2026-30966
Parse Server has role escalation and CLP bypass via direct `_Join` table write
critical10.0Mar 11, 2026CVE-2026-31856
Parse Server vulnerable to SQL injection via `Increment` operation on nested object field in PostgreSQL
critical9.3Mar 11, 2026
