Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Nginx-fronted Tinyauth endpoint
-
DeliverySend request with forged X-Original-URL header
-
ExploitReference another app's public path
-
ExecutionTinyauth applies wrong access controls
-
ImpactBypass authentication to protected application
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Trusted input validation
|
| Exploitation Conditions | Exploitable only when Tinyauth (versions 5.0.5 through 5.1.x, before 5.2.0) is deployed behind Nginx or Nginx Proxy Manager using the /api/auth/nginx forward-auth endpoint AND that reverse-proxy configuration does not overwrite or remove the client-supplied X-Original-URL header before forwarding the auth request. The attacker simply sets X-Original-URL to another application's path; an unauthenticated attacker gains access to an app's public path, while a restricted authenticated user can reach an application they are authorized for to bypass app-specific restrictions. Limiting factors: the deployment must use this specific Nginx forward-auth mode and must not already strip/overwrite X-Original-URL (configs that set |
| Impact | This is a genuine high-priority issue, not an inflated CVSS score. The supplied CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N, 9.1) aligns with the GitHub Security Advisory (GHSA-vx8c-f5hh-c8pf) and NVD: an unauthenticated, network-reachable, low-complexity authentication bypass in a product whose entire purpose is authentication/authorization, so a failure here directly undermines every application it protects. The vuln.today Decision label is 'act_now', reinforcing urgency. However, exploitability is deployment-conditioned rather than universal: it only applies to instances using the /api/auth/nginx endpoint on Nginx or Nginx Proxy Manager configurations that do NOT overwrite or strip the client-supplied X-Original-URL header (CWE-807, reliance on an untrusted security-decision input). No EPSS score, KEV listing, or working exploit is present in the provided data, so there is no evidence of active exploitation - the priority rests on the pre-authentication impact and the trivial trigger (setting one HTTP header), not on observed in-the-wild use. Net: treat as urgent patch, but note the Nginx-specific precondition narrows the actually-affected population below what a raw 9.1 implies. |
| Exploit ScenarioDerived | An attacker sends a request to the protected site that reaches Tinyauth's /api/auth/nginx forward-auth endpoint, supplying a crafted X-Original-URL header that names another application's public (unauthenticated) path. Tinyauth selects access controls based on that spoofed header and authorizes the request, letting the unauthenticated attacker reach a protected application; a restricted authenticated user can likewise reference an application they are allowed to use to escape app-specific restrictions. No public exploit identified at time of analysis, but the trigger is a single forged header and requires no special tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Tinyauth's /api/auth/nginx endpoint trusts a client-supplied X-Original-URL header when deciding which application's access controls to enforce, so unauthenticated attackers can point at another application's public path to skip authentication, and restricted authenticated users can point at an application they are authorized for to bypass application-specific restrictions. Affected are deployments of versions 5.0.5 through 5.1.x (fixed in 5.2.0) that place Tinyauth behind Nginx or Nginx Proxy Manager and do not overwrite or remove X-Original-URL before forwarding the auth request. Unauthenticated exploitation is possible (CVSS 9.1, AV:N/AC:L/PR:N/UI:N), vulnerability prioritization is act_now, and the vendor advisory provides a mitigation of stripping the header; no CISA KEV listing or confirmed public exploit code is present in the supplied data.
RemediationAI
Upgrade Tinyauth to 5.2.0 (Go module fix 1.0.1-0.20260825140756-847d8325c70b), which is the complete fix; the changes are in PR #1089 and commit 847d8325c70b64775fdeaf61343c75fdac855009, with the release at https://github.com/tinyauthapp/tinyauth/releases/tag/v5.2.0. If upgrading must be deferred, apply the vendor-stated temporary mitigation: add proxy_set_header X-Original-URL ""; inside the Nginx location block that handles Tinyauth authentication requests so the client-supplied header cannot reach /api/auth/nginx, while confirming the reverse proxy still supplies the correct X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-Uri headers. Note the trade-off the vendor describes: this mitigation suits configurations that rely on those forwarded headers rather than ones that intentionally require a proxy-generated X-Original-URL, and any other proxy or SAPIs path remains outside the described vulnerable condition. Teams that cannot immediately strip the header should treat the Nginx forward-auth endpoint as trust-sensitive and validate that no untrusted client can set X-Original-URL upstream of Tinyauth. Post-upgrade behavior also changes: requests carrying identifiers for multiple auth modules are denied, and falling back to the ForwardAuth module can be disabled with TINYAUTH_EXPERIMENTAL_DISABLEAUTHMODULEFALLBACK, so verify auth_request/ext_authz configurations after upgrading. Advisory: https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-vx8c-f5hh-c8pf.
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 authentication/authorization server that integrates with reverse proxies through three distinct auth module styles: ForwardAuth (identifying the request via X-Forwarded-Host/X-Forwarded-Uri), AuthRequest (identifying the request via X-Original-URL), and ExtAuthz (identifying the request via a query-string path). The root cause is CWE-807, Reliance on Untrusted Inputs in a Security Decision: for the Nginx/AuthRequest mode the application used the client-reachable X-Original-URL header as the key for selecting which configured application and access rules apply, rather than requiring a proxy-generated value. Because Nginx and Nginx Proxy Manager commonly pass client headers through, an attacker controls the selector that maps a request to an application's auth policy. The upstream fix in commit 847d8325c70b64775fdeaf61343c75fdac855009 and PR #1089 adds proxy_controller logic that checks whether identifiers for more than one auth module are present (x-forwarded-host/x-forwarded-uri, x-original-url, or an ext_authz path query) and denies the request as a possible spoofing attempt, requires a non-empty path for the ext_authz context, and introduces the TINYAUTH_EXPERIMENTAL_DISABLEAUTHMODULEFALLBACK setting so auth_request/ext_authz deployments need not fall back to the ForwardAuth module. The same commit also tightens cookie-domain scheme handling. Go module metadata shows the vulnerable range starting at 1.0.1-0.20260314175615-dc3fa58d2187 and fixed in 1.0.1-0.20260825140756-847d8325c70b, corresponding to the tagged release v5.2.0.
Know when Nginx 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Unauthenticated network request with a single forged header (AV:N/AC:L/PR:N/UI:N) bypasses access controls to protected apps, giving high confidentiality and integrity impact but no availability effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Tinyauth is an authentication and authorization server. From 5.0.5 until 5.2.0, the /api/auth/nginx endpoint trusts a client-supplied X-Original-URL header when selecting application access controls in Nginx or Nginx Proxy Manager configurations that do not overwrite or remove that header. An unauthenticated attacker can reference another application's public path to bypass authentication, and a restricted authenticated user can reference an authorized application to bypass application-specific restrictions. This issue is fixed in version 5.2.0.
Technical POC Analysis
Bug class: CWE-807, Reliance on Untrusted Inputs in a Security Decision.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-137182 is a critical authentication bypass in Tinyauth affecting versions 5.0.5 through 5.1.x, where a client-supplied header can trick the system into enforcing the wrong application's access controls. This exposes any application protected by Tinyauth to unauthorized access, with potential for data breaches or privilege escalation. Leadership should act immediately to mitigate risk across all affected deployments.
Apply the vendor-recommended mitigation: strip or overwrite the X-Original-URL header at the Nginx or Nginx Proxy Manager layer before forwarding authentication requests to Tinyauth.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cau
A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
nginx 0.8.41 through 1.4.3 and 1.5.x before 1.5.7 allows remote attackers to bypass intended restrictions via an unescap
An issue was discovered on GL.iNet devices before version 4.5.0. Rated critical severity (CVSS 9.8), this vulnerability
Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow vulnerability in nginx range fi
The resolver in nginx before 1.8.1 and 1.9.x before 1.9.10 allows remote attackers to cause a denial of service (invalid
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
Use-after-free in NGINX Plus and NGINX Open Source can crash a worker process handling HTTP/2-proxied requests and, if A
Heap buffer overflow in NGINX Plus and NGINX Open Source when HTTP/2 is enabled lets remote, unauthenticated attackers c
Nginx UI is a web user interface for the Nginx web server. Rated high severity (CVSS 8.9), this vulnerability is remotel
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
EUVD-2026-139626
GHSA-vx8c-f5hh-c8pf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB