# CVE-2026-137182: Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-807
- **Aliases:** GHSA-vx8c-f5hh-c8pf
- **Published:** 2026-11-30T17:59:40.871Z
- **Modified:** 2026-11-30T18:18:38.303Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can spoof the X-Original-URL header to bypass authentication and access restrictions in Tinyauth, an authentication server, when used behind Nginx or Nginx Proxy Manager.

## Who should check

- Projects that depend on Go package github.com/tinyauthapp/tinyauth (\>= 1.0.1-0.20260314175615-dc3fa58d2187, \< 1.0.1-0.20260825140756-847d8325c70b)
- Anyone running tinyauthapp tinyauth \>= 5.0.5, \< 5.2.0

## Description

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.

## Affected and fixed versions

- Go `github.com/tinyauthapp/tinyauth`: affected \>= 1.0.1-0.20260314175615-dc3fa58d2187, \< 1.0.1-0.20260825140756-847d8325c70b; fixed 1.0.1-0.20260825140756-847d8325c70b (ghsa)
- tinyauthapp tinyauth: \>= 5.0.5, \< 5.2.0 (cvelist)

## Technologies

Go (AI-matched), Go modules, Nginx (AI-matched)

## Mitigation

- Upgrade github.com/tinyauthapp/tinyauth to 1.0.1-0.20260825140756-847d8325c70b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-137182. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-137182.md
Affected: github.com/tinyauthapp/tinyauth >= 1.0.1-0.20260314175615-dc3fa58d2187, < 1.0.1-0.20260825140756-847d8325c70b
Fixed in: 1.0.1-0.20260825140756-847d8325c70b

Steps:
1. Search this machine and project for github.com/tinyauthapp/tinyauth (Go), tinyauthapp tinyauth: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-137182 being exploited?

There is no confirmed exploitation: CVE-2026-137182 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-137182?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-137182?

github.com/tinyauthapp/tinyauth \>= 1.0.1-0.20260314175615-dc3fa58d2187, \< 1.0.1-0.20260825140756-847d8325c70b.

### Is there a fix for CVE-2026-137182?

Yes. Fixed in 1.0.1-0.20260825140756-847d8325c70b. Upgrade github.com/tinyauthapp/tinyauth to 1.0.1-0.20260825140756-847d8325c70b or later.

### How do I check if I'm affected by CVE-2026-137182?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-vx8c-f5hh-c8pf>
- patch: <https://github.com/tinyauthapp/tinyauth/pull/1089>
- patch: <https://github.com/tinyauthapp/tinyauth/commit/847d8325c70b64775fdeaf61343c75fdac855009>
- other: <https://github.com/tinyauthapp/tinyauth/releases/tag/v5.2.0>
- other: <https://github.com/advisories/GHSA-vx8c-f5hh-c8pf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-137182>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-vx8c-f5hh-c8pf> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-137182> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-137182>
