CVE-2026-102895

GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated admin

Published Nov 4, 2026 CVSS 3.1 · 9.8 Critical EPSS 18.8% KEV · Listed
Description
GPUStack is an open-source GPU cluster manager for AI model serving and GPU instance provisioning. Prior to 2.2.0, get_current_user in gpustack/api/auth.py treated a loopback request source as the built-in administrator when force_auth_localhost was false, which was the default. A remote request could appear to originate from 127.0.0.1 because client_ip_getter accepted a same-host reverse proxy peer or a client-supplied X-GPUStack-Real-IP loopback value. The bypass allowed unauthenticated administrative access, including user and model changes, persistent administrator API-key creation, disclosure of worker and cloud-provider secrets, and code execution through POST /v2/inference-backends/from-yaml. Exploitation was observed in the wild against a 2.1.1 deployment. This issue is fixed in version 2.2.0.

Analysis

AI-generated

Technical impact

The flaw resides in the authentication helper that mistakenly treats any loopback traffic as a built‑in administrator when the configuration flag force_auth_localhost is set to its default false value. By sending a request that appears to originate from 127.0.0.1—either through a same‑host reverse‑proxy connection or by injecting a loopback value in the X‑GPUStack‑Real‑IP header—an attacker can obtain full administrative privileges without authenticating. These privileges allow the attacker to create persistent administrator API keys, modify user accounts and models, expose worker hardware secrets, and execute arbitrary code via the POST /v2/inference-backends/from-yaml endpoint.

Affected Systems

This vulnerability affects GPUStack, the open‑source GPU cluster manager, versions earlier than 2.2.0. An observed instance of exploitation targeted a 2.1.1 deployment. The issue is contingent on an environment where the daemon is reachable over a network that can forward loopback‑indicating headers or peer connections, and where the default configuration has not overridden the force_auth_localhost setting.

Risk and Exploitability

The CVSS score of 9.8 classifies the flaw as critical, indicating both broad impact and high privileges obtained. The EPSS score is 19%, indicating a notably higher probability of exploitation; the vulnerability has been observed in the wild, suggesting that exploit development or deployment is feasible. It is now listed in the CISA KEV catalogue, indicating that it has been identified as a known exploited vulnerability. Attackers can remotely send crafted requests or manipulate reverse‑proxy behavior to masquerade as localhost, gaining administrative control with no credential requirement.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to GPUStack version 2.2.0 or newer, where the authentication logic has been corrected.
  • Set the configuration parameter force_auth_localhost to true to prevent loopback traffic from granting admin rights.
  • Restrict inbound traffic to trusted IP ranges and disable or properly configure reverse proxies that might inject loopback source headers.

Generated by OpenCVE AI on November 22, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gj9m-f8ph-pmhr GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated admin
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:gpustack:gpustack:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-11-09T00:00:00+00:00', 'dueDate': '2026-11-12T00:00:00+00:00'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gpustack
Gpustack gpustack
Vendors & Products Gpustack
Gpustack gpustack
Type Values Removed Values Added
Description GPUStack is an open-source GPU cluster manager for AI model serving and GPU instance provisioning. Prior to 2.2.0, get_current_user in gpustack/api/auth.py treated a loopback request source as the built-in administrator when force_auth_localhost was false, which was the default. A remote request could appear to originate from 127.0.0.1 because client_ip_getter accepted a same-host reverse proxy peer or a client-supplied X-GPUStack-Real-IP loopback value. The bypass allowed unauthenticated administrative access, including user and model changes, persistent administrator API-key creation, disclosure of worker and cloud-provider secrets, and code execution through POST /v2/inference-backends/from-yaml. Exploitation was observed in the wild against a 2.1.1 deployment. This issue is fixed in version 2.2.0.
Title GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated admin
Weaknesses CWE-287
CWE-290
CWE-346
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-346

    Origin Validation Error

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 10, 2026, 4:55 AM
Reserved
Sep 29, 2026, 5:34 PM
Status
Analyzed
Published
Nov 4, 2026, 10:17 PM
Modified
Nov 10, 2026, 5:17 AM