CVE Catalog

CVE-2026-77582

MediumCVSS 6.9
Published: Translated: NVD NIST

Summary

Tinyauth prior to 5.1.0 exposes a remotely observable timing difference between authentication attempts for existing and nonexistent local usernames. The loginHandler and basicAuth functions return quickly after a missing user is reported, while an existing user causes bcrypt password verification work.

Risk Assessment

Repeated measurements can disclose valid usernames and support targeted credential attacks. The risk affects the confidentiality of account names and authentication security.

Recommendation

Update Tinyauth to version 5.1.0 or later, which fixes the timing difference. Consider additional login attempt throttling and monitoring for unusual patterns.

Other vulnerabilities in Tinyauth

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS