Designing neutral authentication errors after CVE-2026-11960
The Fix for CVE-2026-11960 is small enough to read in minutes, but the design lesson is broad. FacturaScripts 2025.61 exposed whether a username existed through differences in login responses. The upstream patch uses generic messages and a fixed dummy bcrypt hash to remove both obvious text branches and a timing asymmetry.
INCIBE rates the vulnerability CVSS v4.0 6.9 and reports no observed exploitation. The flaw is an information leak that can support later password attacks or social engineering. It is a useful case for developers because a neutral authentication error is not just a string. It is a combination of status, content, redirects, timing and side effects.
Start with the failure states
Write down every authentication outcome the client can reach: unknown user, disabled account, wrong password, required second factor, expired challenge, rate-limited request and recovery failure.…