{"id":"CVE-2026-77561","published":"2026-09-21T17:18:52.943","lastModified":"2026-09-21T17:18:52.943","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.","cvssScore":5.3,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","cwes":["CWE-307"],"vendors":[],"products":[],"references":[{"url":"https://github.com/tinyauthapp/tinyauth/commit/654b5cc436fc67865c1f55edf9ba9fbded50b74f","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/commit/dade1e2c8f27a23df56ac216dcaf4b37081698e7","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/1008","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/943","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-9xhm-w3wj-xhqh","tags":[]}],"exploitRefs":[{"url":"https://github.com/tinyauthapp/tinyauth/commit/654b5cc436fc67865c1f55edf9ba9fbded50b74f","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/commit/dade1e2c8f27a23df56ac216dcaf4b37081698e7","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/1008","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/pull/943","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0","tags":[]},{"url":"https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-9xhm-w3wj-xhqh","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows unauthenticated attackers to trigger a global login lockdown by sending POST requests with nonexistent usernames, leading to HTTP 429 rate limiting for legitimate users.","exploitability":"Exploitation is relatively easy as it requires sending 257 distinct non-existent usernames. Precondition: The target system must be running an affected version of Tinyauth before 5.1.0.","blast_radius":"If exploited, the impact could significantly disrupt user access for up to 300 seconds, affecting legitimate users until the lockdown is lifted.","remediation":"Upgrade to Tinyauth version 5.1.0 or later to mitigate this vulnerability.","tags":["auth-bypass","rate-limiting","web"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-22T06:27:52.686Z"}}