Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Tinyauth login/basic-auth endpoint
-
DeliverySubmit paired requests for candidate vs known-absent usernames
-
ExploitMeasure and average response timing differences
-
ExecutionClassify accounts by bcrypt-delay presence
-
ImpactEnumerate valid usernames for targeted credential attacks
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
|
| Exploitation Conditions | Requires a network-reachable Tinyauth instance (version prior to 5.1.0) that uses LOCAL username/password authentication - the flaw lives in the local-user login path (loginHandler) and HTTP basic-auth middleware (basicAuth), where a missing user returns before bcrypt runs. No authentication, credentials, or user interaction are needed to probe. Exploitation is LIMITED by the need for repeated statistical timing measurements to overcome network and server jitter, and by deployments that rely solely on external OAuth/OIDC providers rather than local users (which would not exercise the vulnerable bcrypt comparison path). Impact is confined to disclosure of valid usernames - no password, session, or data compromise directly results. |
| Impact | This is a genuine but modest-severity information-disclosure flaw (CWE-208, observable timing discrepancy) rather than a high-impact break. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L, base 6.9) correctly captures network reachability, no auth, and low confidentiality impact - the flaw only leaks whether a local username exists, not credentials or data. No EPSS score, no CISA KEV listing, and no public exploit were provided, so exploitation status is best characterized as no public exploit identified; the source-code fix diff is public (PR #1004 / commit c22925c2) which describes the mechanism but is not weaponized exploit code. I differ from the vendor on complexity: reliably distinguishing a bcrypt password-verification delay from an early 'user-not-found' return over a network requires many repeated, statistically-averaged measurements against timing jitter, which is closer to AC:H than AC:L. Net: this is a real hardening priority for exposed instances but a low-urgency issue - it is an enumeration primitive that facilitates targeted credential attacks, not a direct compromise. No conflicting signals between CVSS and description; both agree on network/unauthenticated/low-confidentiality. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends many login (or HTTP basic-auth) requests to an internet-exposed Tinyauth instance, alternating candidate usernames, and measures response latency: nonexistent users return quickly while existing users incur bcrypt verification delay. By statistically averaging timings the attacker enumerates valid local usernames and then focuses password-guessing or phishing on confirmed accounts. No public exploit is identified, but the fix diff publicly documents the exact code paths (loginHandler, basicAuth) involved. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
Username enumeration is possible against Tinyauth instances running versions before 5.1.0 because the local-user login handler and the HTTP basic-auth middleware return as soon as an account is reported missing, while an existing account triggers a comparatively slow bcrypt password verification, leaving a remotely measurable timing discrepancy (CWE-208). Unauthenticated attackers with network reach to the authentication endpoints can take repeated latency measurements and statistically distinguish valid local usernames from invalid ones; the independent assessment rates this CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, so the outcome is limited to disclosure of valid usernames with no direct password, session, or data compromise, and exploitation is constrained by network/server jitter requiring many samples. Deployments that authenticate exclusively through external OAuth/OIDC providers and maintain no local users do not exercise the vulnerable bcrypt path, and no public exploit code was identified at time of analysis; the vendor-released fix is version 5.1.0.
RemediationAI
Vendor-released patch: upgrade to Tinyauth 5.1.0 (https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0), which precomputes a dummy bcrypt hash and calls DummyPasswordCheck on the missing-user path in both loginHandler and basicAuth via PR 1004 / commit c22925c2fba981875d0a2b09dd3ee41c0ae4c310, per advisory GHSA-456h-ww26-f758. If upgrading is not immediately possible, the most effective compensating control is to apply the same upstream logic manually - generate a dummy bcrypt hash at service startup and run bcrypt.CompareHashAndPassword against it whenever ErrUserNotFound is returned by the auth service, in both internal/controller/user_controller.go and internal/middleware/context_middleware.go - accepting the trade-off that every failed login for a nonexistent user now incurs full bcrypt cost (tens of milliseconds at the default work factor), which slightly increases CPU load and is a source-code change requiring a rebuild. Where local accounts are not essential, disabling local username/password authentication and relying solely on external OAuth/OIDC providers removes the vulnerable bcrypt comparison path entirely, with the trade-off of eliminating local accounts and altering the administrative access model. Adding per-source rate limiting or artificial jitter to the login and basic-auth endpoints is only a partial mitigation: a patient attacker averaging many samples can still recover the timing signal, and aggressive throttling risks locking out legitimate users. Because the only real exposure is username disclosure, also watch authentication logs for enumeration or credential-stuffing patterns and treat observed valid usernames as an increased risk for targeted password attacks.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Tinyauth is a Go-based authentication and authorization server; the flawed logic lives in internal/controller/user_controller.go (loginHandler), internal/middleware/context_middleware.go (basicAuth), and internal/service/auth_service.go. In the pre-5.1.0 flow, auth_service reports ErrUserNotFound for a nonexistent local username and the caller returns immediately, whereas an existing username proceeds to bcrypt password verification - a deliberately expensive operation whose cost dominates the response. That structural asymmetry is a classic observable timing discrepancy (CWE-208), and because bcrypt's work factor is intentionally slow, the gap is large enough to be detectable over the network despite jitter. The upstream fix (PR #1004, commit c22925c2fba981875d0a2b09dd3ee41c0ae4c310) precomputes a dummy bcrypt hash at service construction and adds DummyPasswordCheck, which runs bcrypt.CompareHashAndPassword against that dummy hash whenever a user is not found; callers in both loginHandler and basicAuth now invoke it so missing-user and existing-user paths perform equivalent cryptographic work. The CPE string cpe:2.3:a:tinyauthapp:tinyauth:*:*:*:*:*:*:*:* reflects the vendor/product scope, and the issue is specific to local username/password authentication paths; operator-managed OAuth/OIDC-only deployments bypass this comparison entirely.
Know when Tinyauth gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable and unauthenticated (AV:N/PR:N), but reliable side-channel extraction needs many averaged measurements against timing noise (AC:H); only username existence leaks (C:L, I/A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Authorization bypass in Tinyauth releases prior to 5.1.2 allows an authenticated, low-privilege user to reach applicatio
Tinyauth versions prior to 5.1.0 can be forced into a temporary, instance-wide login lockdown by an unauthenticated remo
Unauthenticated remote attackers can bypass route-based access control rules in tinyauth deployments running versions be
EUVD-2026-84014
GHSA-456h-ww26-f758
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB