Go
CVE-2026-137182
Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
- Severity
- Critical 9.1
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 1.0.1-0.20260825140756-847d8325c70b
- Weakness
- CWE-807
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Also known as
- GHSA-vx8c-f5hh-c8pf
- Sources
- OSV.dev and GitHub
Description
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.
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.
Workarounds
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:
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 software
| Software | Affected versions |
|---|---|
github.com/tinyauthapp/tinyauthGo · osv:Go:github.com/tinyauthapp/tinyauth |
|
About github.com/tinyauthapp/tinyauth
This is the only vulnerability in github.com/tinyauthapp/tinyauth in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137182
- GitHub Advisory Database https://github.com/advisories/GHSA-vx8c-f5hh-c8pf