CVE-2026-77582: Tinyauth: User enumeration attack by timing oracle

Published Sep 21, 2026
·
Updated

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/usercontroller.go loginHandler and internal/middleware/contextmiddleware.go basicAuth return quickly after internal/service/authservice.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 Software

1 affected component
Tinyauth<5.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Tinyauth to a version that resolves this vulnerability.

    Fixed in 5.1.0

Event History

Sep 21, 2026
CVE Published
via MITRE·04:43 PM
Data Sourced
via MITRE·04:43 PM
DescriptionWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A remote attacker who can submit authentication attempts can repeatedly measure response times to distinguish existing local usernames from nonexistent ones. The disclosed usernames can then support targeted credential attacks.

2

Are both login and HTTP Basic Authentication affected?

Yes. The timing difference is present in the login handler and in the Basic Authentication middleware when local usernames are checked.

3

Which versions are affected and what fixes it?

Versions prior to 5.1.0 are affected. Upgrade to Tinyauth 5.1.0 to obtain the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203