CVE-2026-137182 — Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
Severity breakdown
Critical · 9.1
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-807: Reliance on Untrusted Inputs in a Security Decision
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/tinyauthapp/tinyauth (Go) | ≥ 1.0.1-0.20260314175615-dc3fa58d2187, < 1.0.1-0.20260825140756-847d8325c70b | 1.0.1-0.20260825140756-847d8325c70b |
| tinyauthapp tinyauth | >= 5.0.5, < 5.2.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/tinyauthapp/tinyauth/commit/847d8325c70b64775fdeaf61343c75fd…
- github.com/tinyauthapp/tinyauth/pull/1089
- github.com/tinyauthapp/tinyauth/releases/tag/v5.2.0
Other references
Details
Summary
Tinyauth's Nginx forward-auth endpoint trusts the client-supplied X-Original-URL header when determining which application's access controls to enforce. This allows an attacker to bypass authentication by referencing another application's public path or bypass application-specific access restrictions by referencing an application they are authorized to access.
Who is impacted
Instances using Tinyauth's /api/auth/nginx endpoint with Nginx or Nginx Proxy Manager configurations that do not explicitly overwrite or remove the X-Original-URL header. Both unauthenticated users and authenticated users with restricted application access may exploit this vulnerability.
Temporary mitigation
Administrators should configure Nginx to remove the client-supplied X-Original-URL header before forwarding authorization requests to Tinyauth.
Add the following directive inside the Nginx location handling Tinyauth authentication requests:
proxy_set_header X-Original-URL "";
Ensure that the reverse proxy continues to supply the correct X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-Uri headers. This mitigation applies to configurations using these forwarded headers rather than those that require a proxy-generated X-Original-URL.
Affected
- go:github.com/tinyauthapp/tinyauth
- tinyauthapp tinyauth
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-137182?
Summary Tinyauth's Nginx forward-auth endpoint trusts the client-supplied X-Original-URL header when determining which application's access controls to enforce. This allows an attacker to bypass authentication by referencing another application's public path or bypass application-specific access restrictions by referencing an application they are authorized to access. Weakness type: Reliance on Untrusted Inputs in a Security Decision (CWE-807).
How severe is CVE-2026-137182?
CVE-2026-137182 has a CVSS 3.1 base score of 9.1 (critical), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-137182 being exploited?
Not as far as is known: CVE-2026-137182 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-137182?
github.com/tinyauthapp/tinyauth (Go) ≥ 1.0.1-0.20260314175615-dc3fa58d2187, < 1.0.1-0.20260825140756-847d8325c70b (fixed in 1.0.1-0.20260825140756-847d8325c70b); tinyauthapp tinyauth >= 5.0.5, < 5.2.0.
How do I fix CVE-2026-137182?
Update to a fixed release: github.com/tinyauthapp/tinyauth (Go) 1.0.1-0.20260825140756-847d8325c70b.
Timeline & sources
References
Related vulnerabilities & news
- nginxWebUI Authentication Bypass and Remote Code Execution Vulnerability
- Traefik Client Certificate Bypass Vulnerability in Kubernetes Ingress NGINX Provider
- CVE-2026-127064: Path Traversal in @fastify/reply-from Plugin
- Hugo Blog's Unauthenticated API Access Vulnerability
- Cocos AI attested TLS: one-time attestation at handshake enables TOCTOU after connection setup (CVE-2026-119345)