serverpod_auth_core_server is vulnerable to Missing Authorization
58
CVE Score
Medium
Missing Authorization
JwtAdmin.rotateRefreshToken method validated a client-supplied refresh token's rotating secret and issued a new refresh/access token pair without checking whether the associated AuthUser was blocked. A user blocked by an administrator after already holding a refresh token could keep calling the refresh/rotate endpoint indefinitely and continue receiving valid access tokens, bypassing the block that was otherwise enforced at login via createTokens. The fix adds an AuthUser lookup and blocked-state check inside rotateRefreshToken, throwing AuthUserBlockedException and halting the rotation when the user is blocked.
Upgrade the serverpod_auth_core_server package to version 3.4.12 or later.
You are affected if you are using a version that falls within the vulnerable range and your application relies on blocking user accounts to immediately revoke access for sessions issued through Serverpod's JWT refresh-token flow.
3.0.0 - 3.4.11
Fixed in 3.4.12serverpod_auth_core_server is vulnerable to Missing Authorization in versions 3.0.0 - 3.4.11.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.