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.
Github GHSA