CVE-2026-77561
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/steveiliop56/tinyauthGo | < 1.0.1-0.20260715123057-dade1e2c8f27 | 1.0.1-0.20260715123057-dade1e2c8f27 |
Affected products
1Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-9xhm-w3wj-xhqhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-77561ghsaADVISORY
- github.com/tinyauthapp/tinyauth/commit/654b5cc436fc67865c1f55edf9ba9fbded50b74fnvdWEB
- github.com/tinyauthapp/tinyauth/commit/dade1e2c8f27a23df56ac216dcaf4b37081698e7nvdWEB
- github.com/tinyauthapp/tinyauth/pull/1008nvdWEB
- github.com/tinyauthapp/tinyauth/pull/943nvdWEB
- github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0nvdWEB
- github.com/tinyauthapp/tinyauth/security/advisories/GHSA-9xhm-w3wj-xhqhnvdWEB
News mentions
0No linked articles in our index yet.