Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/tinyauthapp/tinyauth
  4. ›
  5. CVE-2026-137182

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

November 30, 2026

Summary

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.

Who is impacted

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.

Temporary mitigation

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:

proxy_set_header X-Original-URL "";

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.

References

  • github.com/advisories/GHSA-vx8c-f5hh-c8pf
  • github.com/tinyauthapp/tinyauth/commit/847d8325c70b64775fdeaf61343c75fdac855009
  • github.com/tinyauthapp/tinyauth/pull/1089
  • github.com/tinyauthapp/tinyauth/releases/tag/v5.2.0
  • github.com/tinyauthapp/tinyauth/security/advisories/GHSA-vx8c-f5hh-c8pf
  • nvd.nist.gov/vuln/detail/CVE-2026-137182

Code Behaviors & Features

Detect and mitigate CVE-2026-137182 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.1-0.20260314175615-dc3fa58d2187 before 1.0.1-0.20260825140756-847d8325c70b

Fixed versions

  • 1.0.1-0.20260825140756-847d8325c70b

Solution

Upgrade to version 1.0.1-0.20260825140756-847d8325c70b or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-807: Reliance on Untrusted Inputs in a Security Decision

Source file

go/github.com/tinyauthapp/tinyauth/CVE-2026-137182.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 01 Dec 2026 00:16:56 +0000.