parse-server
Affected
- introduced
9.0.0, fixed9.6.0-alpha.11(semver)
Fixed versions
9.6.0-alpha.11
Fix
- Fixed version
9.6.0-alpha.11npm install [email protected]
Advisory
Also known as: BIT-parse-2026-32242, CVE-2026-32242
Parse Server's OAuth2 adapter shares mutable state across providers via singleton instance
Impact
Parse Server's built-in OAuth2 auth adapter exports a singleton instance that is reused directly across all OAuth2 provider configurations. Under concurrent authentication requests for different OAuth2 providers, one provider's token validation may execute using another provider's configuration, potentially allowing a token that should be rejected by one provider to be accepted because it is validated against a different provider's policy.
Deployments that configure multiple OAuth2 providers via the oauth2: true flag are affected.
Patches
The fix ensures that a new adapter instance is created for each provider instead of reusing the singleton, so each provider's configuration is isolated.
Workarounds
There is no known workaround. If only a single OAuth2 provider is configured, the race condition cannot occur.
References
Critical Basis: The source's own band: CRITICAL
9.0.0, fixed 9.6.0-alpha.11 (semver)9.6.0-alpha.11
9.6.0-alpha.11npm install [email protected]0, fixed 8.6.37 (semver)8.6.37
8.6.37npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0