Description
CryptPad is a collaboration suite. Prior to version 2025.3.0, enforcement of Two-Factor Authentication (2FA) in CryptPad can be trivially bypassed, due to weak implementation of access controls. An attacker that compromises a user's credentials can gain access to the victim's account, even if the victim has 2FA set up. This is due to 2FA not being enforced if the path parameter is not 44 characters long, which can be bypassed by simply URL encoding a single character in the path. This issue has been patched in version 2025.3.0.
Problem types
CWE-284: Improper Access Control
CWE-287: Improper Authentication
Product status
References
github.com/...yptpad/security/advisories/GHSA-xq5x-wgcm-3p33
github.com/...ommit/0c5d4bbf5e5206d53470ea86a664fa2b703fb611
github.com/...ommit/f624f9d457d36040f57c7598d98a8b9461b79837
github.com/...7a9a1167481f4a699af331364bb/lib/http-worker.js