Vulnerability Description
Tinyauth is an authentication and authorization server. Prior to 5.1.0, an unauthenticated remote attacker can send POST /api/user/login requests with 257 distinct nonexistent usernames to fill MaxLoginAttemptRecords and activate a global login lockdown. internal/controller/user_controller.go loginHandler passes each attacker-controlled identifier to internal/service/auth_service.go RecordLoginAttempt, which invokes lockdownMode after the map reaches its cap. IsAccountLocked checks that global state before validating unrelated accounts, causing valid users to receive HTTP 429 until auth.loginTimeout expires, approximately 300 seconds by default. The attack can be repeated, but existing authenticated sessions are not invalidated. This issue is fixed in version 5.1.0.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/tinyauthapp/tinyauth/commit/654b5cc436fc67865c1f55edf9ba9fbde
- https://github.com/tinyauthapp/tinyauth/commit/dade1e2c8f27a23df56ac216dcaf4b370
- https://github.com/tinyauthapp/tinyauth/pull/1008
- https://github.com/tinyauthapp/tinyauth/pull/943
- https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0
- https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-9xhm-w3wj-xhqh
- https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-9xhm-w3wj-xhqh
FAQ
What is CVE-2026-77561?
CVE-2026-77561 is a vulnerability with a CVSS score of 5.3 (MEDIUM). Tinyauth is an authentication and authorization server. Prior to 5.1.0, an unauthenticated remote attacker can send POST /api/user/login requests with 257 distinct nonexistent usernames to fill MaxLog...
How severe is CVE-2026-77561?
CVE-2026-77561 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-77561?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.