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.
Published: 2026-09-21
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: User Enumeration (Timing Side‑Channel)
Action: Apply Patch
AI Analysis

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.

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

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

Fri, 25 Sep 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 21 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Tinyauth
Tinyauth tinyauth
Vendors & Products Tinyauth
Tinyauth tinyauth

Mon, 21 Sep 2026 17:00:00 +0000

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'}


Subscriptions

Tinyauth Tinyauth
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T19:16:39.000Z

Reserved: 2026-08-20T20:35:30.148Z

Link: CVE-2026-77582

cve-icon Vulnrichment

Updated: 2026-09-23T19:16:14.848Z

cve-icon NVD

Status : Deferred

Published: 2026-09-21T17:18:53.110

Modified: 2026-09-30T17:32:07.107

Link: CVE-2026-77582

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T19:00:08Z

Weaknesses
  • CWE-208

    Observable Timing Discrepancy