Vulnerabilities in pkg:golang/github.com/tinyauthapp/tinyauth

PACKAGE
Advisory Identifier: GHSA-vx8c-f5hh-c8pf
Advisory Summary

CVE-2026-137182 is a CRITICAL (CVSS 9.1) authentication bypass vulnerability (CWE-807: Reliance on Untrusted Inputs in a Security Decision) affecting Tinyauth libraries in the Go ecosystem. The issue involves nginx authentication bypass via spoofed x-original-url header. Remediation is available by upgrading affected packages to version 1.0.1-0.20260825140756-847d8325c70b.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/tinyauthapp/tinyauth

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/tinyauthapp/tinyauth. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vx8c-f5hh-c8pf CVE-2026-137182 CRITICAL Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
GHSA-328g-jx67-v94g CVE-2026-77560 HIGH Tinyauth: forward-auth per-app ACL is matched case-sensitively against the (case-insensitive) hostname, letting an authenticated user reach apps they are not on the allowlist for
GHSA-456h-ww26-f758 CVE-2026-77582 MODERATE Tinyauth: User enumeration attack by timing oracle

CVE-2026-137182 at a Glance

CVE Identifier CVE-2026-137182
GHSA Identifier GHSA-vx8c-f5hh-c8pf
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-807: Reliance on Untrusted Inputs in a Security Decision
Affected Product Tinyauth
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-137182

To remediate this vulnerability, upgrade all affected Tinyauth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/tinyauthapp/tinyauth fixed: 1.0.1-0.20260825140756-847d8325c70b
Upgrade github.com/tinyauthapp/tinyauth to 1.0.1-0.20260825140756-847d8325c70b
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/tinyauthapp/tinyauth

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-137182, inspect your project dependencies for Tinyauth:

inspect dependencies for github.com/tinyauthapp/tinyauth

Analyze the terminal output to locate any version of Tinyauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1-0.20260825140756-847d8325c70b), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-807: Reliance on Untrusted Inputs in a Security Decision, where the product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism. In Tinyauth, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

**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: ```nginx 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`. **Patched release** Upgrade Tinyauth deployments to [v5.2.0](https://github.com/tinyauthapp/tinyauth/releases/tag/v5.2.0) or later. The `v5.2.0` release notes list [the fix](https://github.com/tinyauthapp/tinyauth/pull/1089).

CVE-2026-137182 Affected Tinyauth Versions

1 component(s)
Fixed Versions:
1.0.1-0.20260825140756-847d8325c70b
Product / Package Ecosystem Affected Versions Fixed Version
github.com/tinyauthapp/tinyauth
Go
≥ 1.0.1-0.20260314175615-dc3fa58d2187
< 1.0.1-0.20260825140756-847d8325c70b
1.0.1-0.20260825140756-847d8325c70b

References

Frequently Asked Questions

What is CVE-2026-137182?
CVE-2026-137182 is a security vulnerability in Tinyauth involving Nginx authentication bypass via spoofed X-Original-URL header under CWE-807: Reliance on Untrusted Inputs in a Security Decision.
Which Tinyauth versions are affected?
Affected versions include releases prior to 1.0.1-0.20260825140756-847d8325c70b across affected packages: github.com/tinyauthapp/tinyauth.
What version fixes CVE-2026-137182?
Upgrading to 1.0.1-0.20260825140756-847d8325c70b (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/tinyauthapp/tinyauth affected?
Yes, github.com/tinyauthapp/tinyauth is affected in releases prior to 1.0.1-0.20260825140756-847d8325c70b. Upgrade your dependency to 1.0.1-0.20260825140756-847d8325c70b or later.
What is the CVSS score of CVE-2026-137182?
CVE-2026-137182 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-137182?
CVE-2026-137182 is classified under CWE-807: Reliance on Untrusted Inputs in a Security Decision (The product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism.).
How can I check Go dependencies for CVE-2026-137182?
Run the dependency tree command: 'inspect dependencies for github.com/tinyauthapp/tinyauth'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vx8c-f5hh-c8pf",
  "modified" : "2026-12-03T15:45:20Z",
  "published" : "2026-11-30T18:03:20Z",
  "aliases" : [ "CVE-2026-137182" ],
  "summary" : "Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header",
  "details" : "**Summary**\n\nTinyauth'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.\n\n**Who is impacted**\n\nInstances 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.\n\n**Temporary mitigation**\n\nAdministrators should configure Nginx to remove the client-supplied `X-Original-URL` header before forwarding authorization requests to Tinyauth.\n\nAdd the following directive inside the Nginx location handling Tinyauth authentication requests:\n\n```nginx\nproxy_set_header X-Original-URL \"\";\n```\n\nEnsure 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`.\n\n**Patched release**\n\nUpgrade Tinyauth deployments to [v5.2.0](https://github.com/tinyauthapp/tinyauth/releases/tag/v5.2.0) or later. The `v5.2.0` release notes list [the fix](https://github.com/tinyauthapp/tinyauth/pull/1089).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/tinyauthapp/tinyauth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.1-0.20260314175615-dc3fa58d2187"
      }, {
        "fixed" : "1.0.1-0.20260825140756-847d8325c70b"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/tinyauthapp/tinyauth/security/advisories/GHSA-vx8c-f5hh-c8pf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-137182"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tinyauthapp/tinyauth/pull/1089"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tinyauthapp/tinyauth/commit/847d8325c70b64775fdeaf61343c75fdac855009"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tinyauthapp/tinyauth"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tinyauthapp/tinyauth/releases/tag/v5.2.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-807" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-30T18:03:20Z",
    "nvd_published_at" : "2026-11-30T18:18:38Z"
  }
}