Skip to main content

Tinyauth EUVDEUVD-2026-84014

| CVE-2026-77582 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-09-21 GitHub_M GHSA-456h-ww26-f758
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed Tinyauth login/basic-auth endpoint
  2. Delivery
    Submit paired requests for candidate vs known-absent usernames
  3. Exploit
    Measure and average response timing differences
  4. Execution
    Classify accounts by bcrypt-delay presence
  5. Impact
    Enumerate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

tinyauth < 5.1.0

Affected Packages

go github.com/tinyauthapp/tinyauth fix: 1.0.1-0.20260714134959-c22925c2fba9
euvd tinyauth fix: 5.1.0

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

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
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
vuln.today AI 3.7 LOW

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 21, 2026 - 18:02 EUVD

DescriptionCVE.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

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche self-hosted open-source auth/forward-auth proxy, small deployment footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy