Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-77582 EUVD-2026-84014GHSA-456h-ww26-f758GO-2026-6555

Tinyauth: User enumeration attack by timing oracle

Published Sep 21, 2026 · Updated Sep 23, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
tinyauthapp tinyauth < 5.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/tinyauthapp/tinyauth < 1.0.1-0.20260714134959-c22925c2fba9 1.0.1-0.20260714134959-c22925c2fba9 GHSA-456h-ww26-f758

References