medium6.9
CVE-2026-77582
Tinyauth is an authentication and authorization server.
Impact
Tinyauth is an authentication and authorization server. Prior to 5.1.0, Tinyauth exposes a remotely observable timing difference between authentication attempts for existing and nonexistent local usernames. internal/controller/user_controller.go loginHandler and internal/middleware/context_middleware.go basicAuth return quickly after internal/service/auth_service.go reports a missing user, while an existing user causes bcrypt password verification work. Repeated measurements can therefore disclose valid usernames and support targeted credential attacks. This issue is fixed in version 5.1.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/tinyauthapp/tinyauth | < 1.0.1-0.20260714134959-c22925c2fba9 | 1.0.1-0.20260714134959-c22925c2fba9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-456h-ww26-f758
- https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-456h-ww26-f758
- https://nvd.nist.gov/vuln/detail/CVE-2026-77582
- https://github.com/tinyauthapp/tinyauth/pull/1004
- https://github.com/tinyauthapp/tinyauth/commit/c22925c2fba981875d0a2b09dd3ee41c0ae4c310
- https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0