Skip to main content

Tinyauth CVE-2026-77560

| EUVDEUVD-2026-84011 HIGH
Improper Handling of Case Sensitivity (CWE-178)
2026-09-21 GitHub_M GHSA-328g-jx67-v94g
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Request protected app with altered hostname case
  3. Exploit
    ACL lookup misses configured app
  4. Execution
    Empty access-control treated as permissive
  5. Impact
    Gain access to excluded application

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
Exploitation Conditions

Requires ALL of the following: (1) Tinyauth prior to 5.1.2 deployed as a forward-auth/authorization server behind a reverse proxy that routes hostnames case-insensitively (typical of nginx/Traefik/Caddy); (2) per-app access controls configured either via static domain ACLs (lookupStaticACLs/GetAccessControls) or the Docker-label fallback (GetLabels); (3) an access-control policy that is meant to EXCLUDE the attacker from at least one app; and (4) the attacker holds valid low-privilege authenticated credentials (PR:L). The bypass is performed by requesting the target app with a differently-cased hostname so the case-sensitive lookup misses the configured entry and returns an empty (permissive) access-control object. LIMITING FACTORS: unauthenticated users are still blocked by login and global login-time allowlists are NOT bypassed, so this only elevates an existing authenticated user across per-app boundaries; deployments without per-app ACLs, or where the proxy is case-sensitive, are not affected.

Impact

The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, base 8.1) describes a network-reachable, low-complexity flaw requiring only low-privilege authentication and no user interaction - a plausible score for an authorization bypass that grants access to protected applications. However, this is not a mass-exploitation candidate: there is no EPSS score, no CISA KEV listing, and no public exploit identified at time of analysis, so the situation is 'no public exploit identified at time of analysis.' Crucially, exploitation is heavily gated on configuration - the target must run Tinyauth as a forward-auth server behind a case-insensitive reverse proxy AND have per-app access controls defined (via domain ACLs or Docker labels) that are meant to EXCLUDE the attacker. The attacker must already be an authenticated, legitimate but under-privileged user (PR:L). The C:H/I:H rating reflects worst-case impact on whatever downstream application the ACL was protecting, so real severity scales with the sensitivity of that app rather than Tinyauth itself. Bottom line: technically clean and easy to trigger where the preconditions hold, but the affected product is niche and the attack requires insider (authenticated) access plus a specific ACL configuration, making this a targeted/opportunistic concern rather than a widespread threat. The 'Information Disclosure' tag understates the issue - it is fundamentally a broken access-control/authorization bypass (CWE-178, case-sensitivity handling).

Exploit ScenarioDerived

A low-privileged but authenticated Tinyauth user who is explicitly denied access to a protected app (e.g. 'admin.example.com') repeats the request through the reverse proxy using a differently-cased hostname such as 'Admin.example.com'. Tinyauth's case-sensitive ACL lookup fails to match the configured app, returns an empty access-control object, and proxyHandler treats the empty user/group/OAuth/LDAP/IP restrictions as permissive, authorizing the user for an app that should exclude them. No public exploit is known, but the technique is trivial to reproduce manually given valid low-privilege credentials.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 21, 2026

Authorization bypass in Tinyauth releases prior to 5.1.2 allows an authenticated, low-privilege user to reach applications whose per-app access controls are configured to exclude them. Tinyauth matches forwarded hostnames case-sensitively in lookupStaticACLs/GetAccessControls and in the Docker-label fallback (GetLabels), while nginx, Traefik, and Caddy route hostnames case-insensitively; requesting the target app with a differently-cased hostname therefore misses the configured policy, returns an empty access-control object, and proxyHandler treats the empty user/group/OAuth/LDAP/IP restrictions as permissive. Exploitation requires valid low-privilege credentials (CVSS PR:L) and a deployment that enforces per-app ACLs behind a case-insensitive proxy; unauthenticated visitors are still stopped at login and global login-time allowlists are not bypassed. No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis, and the vendor-released fix is version 5.1.2.

RemediationAI

Vendor-released patch: upgrade to Tinyauth 5.1.2 (https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.2), which is the only version that carries the new pkg/validators/domain_validator.go normalization logic; the underlying fixes are visible in pull requests https://github.com/tinyauthapp/tinyauth/pull/1000 and https://github.com/tinyauthapp/tinyauth/pull/1028 and commits 80bc87188ec3aabc5104c249eaa7b997973b9275 and e75605b2c534ec83525a33603e16d76baca13399. If an immediate upgrade is not possible, the highest-value compensating control is to force hostname canonicalization at the reverse proxy so Tinyauth never sees a mixed-case Host header - for nginx, route and match on a lowercased variable (e.g. use $host, which is already lowercased, or map $http_host to a lowercased form) and reject requests whose origin-form Host does not equal its lowercase form; for Traefik/Caddy, add a middleware or matcher that rewrites/rejects non-lowercase Host values. The trade-off is that legitimate clients sending mixed-case Host headers (rare, but possible with hand-written HTTP clients or internal tooling) will receive 400-class errors, and any ACL entries that were themselves stored with uppercase characters must still be lowercased or they will not match. As a second layer, audit per-app policies and confirm that every protected application has a matching entry in the static ACL set and, if Docker labels are used, that the label value exactly equals the lowercase hostname; note this is a correctness check only and does not mitigate the bug. Deployments that cannot upgrade and cannot normalize at the proxy should be considered to have no effective per-app isolation for authenticated users, and sensitive apps should be moved behind separate authentication boundaries until the patch is applied. Do not rely on blocking unauthenticated access as a mitigation - the flaw only affects users who have already authenticated, and global login-time allowlists are unaffected by the bypass.

Affected VersionsENISA

tinyauth < 5.1.2

Affected Packages

go github.com/tinyauthapp/tinyauth fix: 1.0.1-0.20260720133915-80bc87188ec3
euvd tinyauth fix: 5.1.2

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 (forward-auth) server typically deployed in front of reverse-proxied applications, often in Docker/Compose environments where per-app policies are derived either from static domain ACLs or from container labels. The defect is CWE-178 (Improper Handling of Case Sensitivity): the access-control lookup in internal/service/access_controls_service.go compares the configured domain with the incoming hostname using exact, case-sensitive equality, and the Docker-label fallback in internal/service/docker_service.go (GetLabels) does the same, while HTTP hostnames are case-insensitive per RFC 3986/4343 and mainstream reverse proxies normalize or route them case-insensitively. An attacker who sends Host: ApP.example.com instead of app.example.com causes the lookup to return no matching policy; internal/controller/proxy_controller.go (proxyHandler) then evaluates an empty access-control object, and because no user, group, OAuth, LDAP, or IP restriction is present, the empty rule set is interpreted as permissive and an authenticated result is returned for an application the user should not reach. The upstream fix adds pkg/validators/domain_validator.go, a DomainValidator built on golang.org/x/net/idna that performs hostname normalization and exact-match validation (returning ErrHostnameMismatch, ErrSchemeMismatch, ErrPortMismatch, ErrInvalidURL), and rewires both the ACL lookup (now a case-insensitive prefix comparison on the lowercased domain) and the OAuth redirect/cookie-domain checks in internal/controller/oauth_controller.go to use it, eliminating the case-sensitivity divergence between Tinyauth and the proxy layer.

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

Authenticated low-privilege user (PR:L) can trivially (AC:L, no UI) bypass per-app authorization over the network; impact scales to full read/write of the protected app (C:H/I:H), no availability effect.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Sep 21, 2026 - 18:02 EUVD
CVE Published
Sep 21, 2026 - 16:39 cve.org
HIGH 8.1

DescriptionCVE.org

Tinyauth is an authentication and authorization server. Prior to 5.1.2, Tinyauth compares forwarded hostnames case-sensitively while reverse proxies route equivalent hostnames case-insensitively, allowing an authenticated low-privilege user to bypass per-app access controls with a differently cased hostname. The lookup in internal/service/access_controls_service.go through lookupStaticACLs and GetAccessControls, and the Docker-label fallback in internal/service/docker_service.go through GetLabels, can miss the configured app and return an empty access-control object. internal/controller/proxy_controller.go proxyHandler then treats the empty user, group, OAuth, LDAP, and IP restrictions as permissive and returns an authenticated result for an app that should exclude the user. Unauthenticated users remain subject to login, and global login-time allowlists are not bypassed. This issue is fixed in version 5.1.2.

Technical POC Analysis

CWE-178 (Improper Handling of Case Sensitivity), with CWE-863 (Incorrect Authorization) and CWE-636 (Failing Open) as the consequences.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Tinyauth, the authentication proxy fronting internal applications, contains an authorization bypass (CVE-2026-77560, CVSS 8.1) in all releases prior to 5.1.2 that lets any valid low-privilege user reach applications their per-application access controls explicitly exclude. Because the flaw is triggered by a differently-cased hostname when Tinyauth sits behind case-insensitive proxies such as nginx, Traefik, or Caddy, the access control decisions our teams believe are enforced are silently skipped. Leadership should care because this erodes the segmentation assumptions behind every SSO-protected internal app, though impact is bounded to already-authenticated users - anonymous visitors are still stopped at login and global login-time allowlists remain intact.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche open-source forward-auth proxy server, small self-hosted footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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