Skip to main content

Tinyauth EUVDEUVD-2026-84015

| CVE-2026-77561 MEDIUM
Improper Restriction of Excessive Authentication Attempts (CWE-307)
2026-09-21 GitHub_M GHSA-9xhm-w3wj-xhqh
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach public /api/user/login endpoint
  2. Delivery
    Send 257 logins with distinct fake usernames
  3. Exploit
    Fill MaxLoginAttemptRecords cache
  4. Execution
    Trigger global lockdownMode
  5. Persist
    Valid users receive HTTP 429 (~300s)
  6. Impact
    Repeat to sustain login DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
Exploitation Conditions

No special conditions beyond network reachability - remote unauthenticated exploitation against default configurations of Tinyauth prior to 5.1.0, where lockdown mode (TINYAUTH_AUTH_LOCKDOWNENABLED) is enabled by default. The attacker only needs to reach the public POST /api/user/login endpoint and submit 257 distinct nonexistent usernames. Limiting factors that cap real-world impact: the lockout is temporary (auto-expires after auth.loginTimeout, ~300 seconds by default), it must be re-triggered to persist, it does NOT invalidate or affect existing authenticated sessions, and it grants the attacker no confidentiality or integrity access. Deployments that disabled lockdown mode are not affected.

Impact

This is a genuine but low-severity availability issue, not a high-priority emergency. All exploitation signals align on a modest ceiling: the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, base 5.3) shows a remote, unauthenticated, low-complexity attack but with ONLY a low availability impact and zero confidentiality/integrity impact - consistent with the description (temporary ~300-second global login lockout that does not invalidate existing sessions and grants no data access). There is no EPSS score, no CISA KEV listing, and no public POC referenced in the input, so exploitation is theoretical at this time. The one point of internal tension is the input Tag 'Information Disclosure,' which directly contradicts the CVSS impact metrics (C:N) and the description - this is a denial-of-service/availability flaw (CWE-307), NOT information disclosure, and the tag should be disregarded. Net: real and easily triggered, but self-limiting (auto-expires, no persistence, no session/credential compromise), so it warrants a routine patch to 5.1.0 rather than emergency response.

Exploit ScenarioDerived

A remote unauthenticated attacker scripts POST /api/user/login requests using 257 distinct nonexistent usernames, filling the MaxLoginAttemptRecords cache and tripping the global lockdown, after which all legitimate users receive HTTP 429 on login for ~300 seconds. The attacker loops this to sustain the outage, though established authenticated sessions keep working. No public exploit code is identified at time of analysis, but the attack is trivial to reproduce from the description.

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

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

Alert me

AnalysisAIv1 – Sep 21, 2026

Tinyauth versions prior to 5.1.0 can be forced into a temporary, instance-wide login lockdown by an unauthenticated remote attacker who sends POST /api/user/login requests using 257 distinct nonexistent usernames, filling the MaxLoginAttemptRecords limit so that legitimate users receive HTTP 429 responses until the default auth.loginTimeout of roughly 300 seconds elapses. The flaw is an availability-only, low-severity issue (CVSS 3.1 5.3, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; CWE-307) that grants no confidentiality or integrity access and does not invalidate or degrade existing authenticated sessions; the attacker gains nothing beyond the temporary denial of new logins and must repeat the request burst to sustain it. No public exploit code was identified at time of analysis, and there is no evidence of active exploitation (not in CISA KEV); deployments that have disabled lockdown mode are unaffected. The issue is fixed in Tinyauth 5.1.0.

RemediationAI

Vendor-released patch: upgrade to Tinyauth 5.1.0 (https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0), which incorporates the fixes from PRs #943 and #1008 and commits 654b5cc436fc67865c1f55edf9ba9fbded50b74f and dade1e2c8f27a23df56ac216dcaf4b37081698e7 and removes the globally exploitable lockdown behavior; consult the advisory at https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-9xhm-w3wj-xhqh. If an immediate upgrade is not possible, the most direct compensating control is to disable the feature the attacker abuses by setting TINYAUTH_AUTH_LOCKDOWNENABLED=false - this removes the global lockdown trigger entirely, at the trade-off of losing the (already weak, global) brute-force lockout protection, so pair it with edge rate limiting. Additionally, enforce per-source-IP rate limits or connection throttling on POST /api/user/login at a reverse proxy or WAF (e.g. limit to a few requests per second per IP with a burst allowance), and where the deployment model permits, restrict /api/user/login to trusted networks or known client ranges; these measures slow the 257-request burst needed to trip the cap without breaking legitimate logins, but they add proxy configuration and may block NAT-shared or mobile clients if thresholds are set too low. Note that blocking or filtering the endpoint does not affect existing authenticated sessions, which are not invalidated by the attack and require no re-authentication or token rotation.

Affected VersionsENISA

tinyauth < 5.1.0

Affected Packages

go github.com/steveiliop56/tinyauth fix: 1.0.1-0.20260715123057-dade1e2c8f27
go github.com/tinyauthapp/tinyauth fix: 1.0.1-0.20260715123057-dade1e2c8f27
euvd tinyauth fix: 5.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 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 (repository tinyauthapp/tinyauth, CPE cpe:2.3:a:tinyauthapp:tinyauth:*:*:*:*:*:*:*:*) in which the Gin handler in internal/controller/user_controller.go (loginHandler) forwards every attacker-supplied identifier to internal/service/auth_service.go, where RecordLoginAttempt writes a LoginAttempt entry into an in-memory cache keyed by username. Because the cache key is fully attacker-controlled and the lockdown threshold is computed globally (calculateLockdownLimit, derived from user count and configured max retries) rather than per source or per real account, 257 fabricated usernames are enough to reach the cache cap and trip lockdownMode. IsAccountLocked then consults that global state before any account validation occurs, so every subsequent login for any account - including valid ones - is answered with HTTP 429. This is a classic CWE-307 (Improper Restriction of Excessive Authentication Attempts) design flaw: a global rather than per-principal lockout counter built over a map that an unauthenticated caller can populate with nonexistent identifiers. The upstream fix in 5.1.0 (PRs #943 and #1008, commits 654b5cc436fc67865c1f55edf9ba9fbded50b74f and dade1e2c8f27a23df56ac216dcaf4b37081698e7) removes the global TINYAUTH_AUTH_LOCKDOWNENABLED/LockdownEnabled toggle and its call to IsInLockdown, repositions the lockout evaluation relative to user resolution in loginHandler so records are no longer created purely from unresolved identifiers, unifies the search-type audit logging through a new UserSearchType.String() helper, and adds a background goroutine (ding.RingMinor) that recomputes the login cache max size every 15 minutes.

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 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Remote, unauthenticated, trivially scripted (AV:N/AC:L/PR:N/UI:N); only a temporary, self-expiring login DoS with no data impact, so C:N/I:N/A:L.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

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, an unauthenticated remote attacker can send POST /api/user/login requests with 257 distinct nonexistent usernames to fill MaxLoginAttemptRecords and activate a global login lockdown. internal/controller/user_controller.go loginHandler passes each attacker-controlled identifier to internal/service/auth_service.go RecordLoginAttempt, which invokes lockdownMode after the map reaches its cap. IsAccountLocked checks that global state before validating unrelated accounts, causing valid users to receive HTTP 429 until auth.loginTimeout expires, approximately 300 seconds by default. The attack can be repeated, but existing authenticated sessions are not invalidated. This issue is fixed in version 5.1.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche self-hosted open-source auth proxy, homelab/small-deployment footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.5%
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· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

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