CVE-2026-137182

Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header

Published Nov 30, 2026 CVSS 3.1 · 9.1 Critical EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability lies in the /api/auth/nginx endpoint of TinyAuth, which accepts a client‑supplied X‑Original‑URL header without validation when determining application access controls. This short‑circuits normal authentication, enabling an attacker to target another application’s public path and gain unauthorized access. For users with limited privileges, referencing an authorized application’s URL can remove their access restrictions. The flaw is a classic authentication bypass, CWE‑807.

Affected Systems

This issue affects the TinyAuth authentication server, specifically versions 5.0.5 through 5.2.0. Administrators running any of those releases with Nginx or Nginx Proxy Manager that forward the X‑Original‑URL header are exposed.

Risk and Exploitability

The flaw carries a CVSS score of 9.1, indicating critical severity. The EPSS score is not available, so the exploitation probability is unclear, but the vulnerability is not yet listed in CISA KEV. An attacker can exploit the flaw by sending a request to /api/auth/nginx with a forged X‑Original‑URL header; no authentication is required to bypass authentication, and a modestly privileged user can also lift application‑level restrictions. The attack can be performed over a network connection to the TinyAuth instance, making it potentially reachable by external actors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TinyAuth to version 5.2.0 or later, which removes the X‑Original‑URL trust logic.
  • Reconfigure Nginx or Nginx Proxy Manager to overwrite or strip the X‑Original‑URL header before it reaches TinyAuth, ensuring client‑supplied values are not processed.
  • Restrict unauthenticated access to the /api/auth/nginx endpoint using firewall rules or access lists, limiting exposure to only trusted IPs or internal networks.

Generated by OpenCVE AI on December 1, 2026 at 05:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vx8c-f5hh-c8pf Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
History
Type Values Removed Values Added
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.
Title Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
Weaknesses CWE-807
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 30, 2026, 5:59 PM
Reserved
Nov 25, 2026, 9:33 PM
Status
Deferred
Published
Nov 30, 2026, 6:18 PM
Modified
Nov 30, 2026, 6:18 PM