Skip to main content

Tinyauth EUVDEUVD-2026-139626

| CVE-2026-137182 CRITICAL
Reliance on Untrusted Inputs in a Security Decision (CWE-807)
2026-11-30 security-advisories@github.com GHSA-vx8c-f5hh-c8pf
9.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Reach Nginx-fronted Tinyauth endpoint
  2. Delivery
    Send request with forged X-Original-URL header
  3. Exploit
    Reference another app's public path
  4. Execution
    Tinyauth applies wrong access controls
  5. Impact
    Bypass 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 proxy_set_header X-Original-URL "" or that rely on proxy-generated headers are not affected); other SAPIs/proxy integrations (e.g., forward-auth via X-Forwarded-* or ext_authz with a query path) are outside the described condition. The complete fix is upgrading to 5.2.0; the vendor-stated temporary mitigation is adding proxy_set_header X-Original-URL ""; inside the Nginx location handling Tinyauth auth requests while ensuring X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-Uri are still supplied.

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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

tinyauth 5.0.5, < 5.2.0

Affected Packages

go github.com/tinyauthapp/tinyauth fix: 1.0.1-0.20260825140756-847d8325c70b
euvd tinyauth fix: 5.2.0

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

Vendor (github) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 9.1 CRITICAL

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.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 19:20 EUVD
CVE Published
Nov 30, 2026 - 18:18 cve.org
CRITICAL 9.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.8%
Top 42% exploitable
Prevalence
Low
niche self-hosted open-source auth proxy, limited enterprise footprint
Threat Intel
1
1 source
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Nginx

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2013-2028 HIGH POC
7.5 Jul 20

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

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2013-4547 HIGH POC
7.5 Nov 23

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

CVE-2023-50919 CRITICAL POC
9.8 Jan 12

An issue was discovered on GL.iNet devices before version 4.5.0. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2017-7529 HIGH
7.5 Jul 13

Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow vulnerability in nginx range fi

CVE-2016-0742 HIGH
7.5 Feb 15

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

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2026-123633 CRITICAL POC
9.2 Nov 18

Use-after-free in NGINX Plus and NGINX Open Source can crash a worker process handling HTTP/2-proxied requests and, if A

CVE-2026-123007 CRITICAL POC
9.2 Nov 18

Heap buffer overflow in NGINX Plus and NGINX Open Source when HTTP/2 is enabled lets remote, unauthenticated attackers c

CVE-2024-49368 HIGH POC
8.9 Oct 21

Nginx UI is a web user interface for the Nginx web server. Rated high severity (CVSS 8.9), this vulnerability is remotel

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy