CVE-2026-77582

Tinyauth: User enumeration attack by timing oracle

Published Sep 21, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a timing side‑channel that allows an attacker to discover valid local usernames by measuring the response time of the authentication endpoint. During login attempts, the server quickly returns a failure response for nonexistent usernames, while it performs bcrypt password verification for existing users, which takes noticeably longer. By repeatedly measuring these differences, an attacker can reliably enumerate the set of valid usernames, and then target those accounts with credential‑guessing or other attacks. The weakness is described by CWE‑208, representing a timing attack.

Affected Systems

Affected products are the tinyauth authentication server from the vendor tinyauthapp. Versions prior to 5.1.0 are vulnerable. The vendor released a fix in the 5.1.0 release that removes the timing discrepancy. No other version or component information is explicitly listed.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity for the vulnerability. EPSS information is not available, and it is not listed in the CISA KEV catalog. The likely attack vector is remote; an attacker can exploit the public authentication API over the network. By sending numerous login requests and timing the responses, a malicious actor can enumerate valid usernames, then move to credential‑stuffing or brute‑force attacks. The exploit requires no privileged access or local exploits, making it a low‑effort threat for attackers who can reach the authentication service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to tinyauth v5.1.0 or later, which removes the timing discrepancy.
  • Enforce TLS 1.2 or higher on the authentication endpoint to reduce the ability of attackers to measure timing differences in transit.
  • Apply application‑level rate limiting or IP blocking to limit the rate of login attempts, mitigating the effectiveness of timing measurements.

Generated by OpenCVE AI on September 21, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-456h-ww26-f758 Tinyauth: User enumeration attack by timing oracle
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Tinyauth
Tinyauth tinyauth
Vendors & Products Tinyauth
Tinyauth tinyauth
Type Values Removed Values Added
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.
Title Tinyauth: User enumeration attack by timing oracle
Weaknesses CWE-208
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 7:16 PM
Reserved
Aug 20, 2026, 8:35 PM
Status
Deferred
Published
Sep 21, 2026, 5:18 PM
Modified
Sep 30, 2026, 5:32 PM