Improper Restriction of Excessive Authentication Attempts in kareadita/kavita
Description
Improper Restriction of Excessive Authentication Attempts in GitHub repository kareadita/kavita prior to 0.6.0.3.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Kavita prior to 0.6.0.3 lacked rate limiting on login attempts, allowing brute-force password attacks and user enumeration via distinct error messages.
Vulnerability
In Kavita versions before 0.6.0.3, the login endpoint (/api/account/login) did not enforce any rate limiting on authentication attempts. Additionally, the server returned distinct error messages for invalid usernames and invalid passwords, allowing an attacker to enumerate valid usernames. The vulnerable code is in the Login method of AccountController.
Exploitation
An attacker can send a high volume of login requests to the endpoint without being throttled. By analyzing the error responses, the attacker can first determine which usernames exist (e.g., "Invalid username" vs. "Your credentials are not correct"). Once valid usernames are identified, the attacker can continue brute-forcing passwords for those accounts without any restriction on the number of attempts.
Impact
Successful brute-force attacks lead to unauthorized access to user accounts. An attacker can then read, modify, or delete data accessible to the compromised account, potentially escalating privileges if the account has administrative roles.
Mitigation
The vulnerability is fixed in Kavita version 0.6.0.3, released on November 11, 2022. The fix includes generic error messages for all login failures and implements rate limiting on authentication attempts [1]. Users should upgrade to 0.6.0.3 or later. No workaround is available for earlier versions.
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- kareadita/kareadita/kavitav5Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
0No linked articles in our index yet.