CVE-2024-29886
Serverpod improved security for stored password hashes
Published Mar 28, 2024 · updated Sep 10, 2026
## Description ### Improved security for stored password hashes Serverpod now uses the OWASP, [source](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#introduction), recommended Argon2Id password hash algorithm to store password hashes for the email authentication module. Starting from Serverpod all users that either creates an account or authenticates with the server will have their password stored using the safer algorithm. No changes are required from the developer to start storing passwords using the safer algorithm. ### Why did we change how passwords are stored? An issue was identified with the old password hash algorithm that made it susceptible to rainbow attacks if the database was compromised. It is strongly recommended to migrate your existing password hashes. ### Migrate existing password hashes The email authentication module provides a helper method to migrate all the existing legacy password hashes in the database. Simply call with a session instance as an argument to migrate the password hashes. The method is implemented as an idempotent operation and will yield the same result regardless of how many times it is called. We recommend either implementing a web server route that can be called remotely or by calling the method as part of starting the server. Following is example code for implementing a web server route. Web server route code ### How we migrate existing password hashes Since password hashes can’t be recalculated without knowledge of the plain text password, the method in the email authentication module applies the new algorithm to the already stored password hashes. When the affected users later authenticate, their password hash will be calculated using both algorithms in tandem. If the authentication is accepted, the stored password hash will be updated to only use the new algorithm so that further authentication only needs to run the new algorithm. ### Impact All versions of pre ### Patches Upgrading to
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Mar 28, 2024 · GitHub Advisory Database
Detected
## Description ### Improved security for stored password hashes Serverpod now uses the OWASP, [source](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#introduction), recommended Argon2Id password hash algorithm to store password hashes for the email authentication module. Starting from Serverpod all users that either creates an account or authenticates with the ser
Sep 10, 2026 · GitHub Advisory Database
Fix available
serverpod_auth_server fixed in 1.2.6
Sep 10, 2026 · GitHub Advisory Database
Fix available
serverpod_auth_server fixed in 1.2.6
Sep 10, 2026 · GitHub Advisory Database
Updated
## Description ### Improved security for stored password hashes Serverpod now uses the OWASP, [source](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#introduction), recommended Argon2Id password hash algorithm to store password hashes for the email authentication module. Starting from Serverpod all users that either creates an account or authenticates with the ser
Affected
- Pub serverpod_auth_server0 → 1.2.6
Sources
- CVE.orgVulnerability recordCVE-2024-29886
Official CVE identifier
cve.org - GitHub Advisory DatabasePackage advisoryGHSA-r75m-26cq-mjxc
GitHub Advisory Database record mirrored by OSV.
github.com - OSV.devPackage advisoryGHSA-r75m-26cq-mjxc
Serverpod improved security for stored password hashes
osv.dev