Weak Encoding for Password in strapi - CVE-2025-25298
Published: April 23, 2026
strapi
Detailed vulnerability description
The vulnerability allows a local user to bypass authentication.
The vulnerability exists due to improper password length validation in the password hashing implementation using bcryptjs when processing passwords longer than 72 bytes. A local user can create or use a password exceeding 72 bytes so that only the first 72 bytes are validated to bypass authentication.
User interaction is required.