Skip to content
Start with Identity
Identity CVE · Other

CVE-2026-102895GPUStack treats any request that looks like localhost as the administrator

SWI rating: criticalCVSS 9.8CISA KEVActively exploited
Product: GPUStackVendor: GPUStackCWE-287Disclosed: 2026-07-31Status: Actively exploitedNVD ↗CISA KEV ↗

What broke

GPUStack is an open-source cluster manager for serving AI models on GPU hosts. Its advisory GHSA-gj9m-f8ph-pmhr, published July 31, 2026, says that before 2.2.0 get_current_user in gpustack/api/auth.py "promotes any request whose source is considered loopback to the built-in administrator account" when force_auth_localhost is false, the default. Two things made remote requests count as loopback. Behind a same-host reverse proxy, every request arrives from 127.0.0.1, so "no header or credential is required." And a client could send X-GPUStack-Real-IP: 127.0.0.1 itself. The result was full administrative access: managing users and models, reading worker and cloud-provider secrets, and minting persistent admin API keys with scope ["*"] that work from any address. NVD scores it CVSS 3.1 9.8 and lists CWE-287, CWE-290 and CWE-346.

The advisory says the flaw "has been observed exploited in the wild against a v2.1.1 deployment," with attacker-created custom inference backends running reverse shells through POST /v2/inference-backends/from-yaml. CISA added it to KEV on November 9, 2026, 101 days after the advisory.

Why it matters

The network source of a request is not an identity. "Localhost is trusted" assumes nothing else shares the host, and a reverse proxy on the same machine breaks that assumption silently, while a header the client sets is the client's word for who it is. The advisory's own root cause line is "Trusting the network source of a request ... as an authentication signal." The persistent admin key the bypass could mint also outlives the fix: an attacker who created one keeps access after the upgrade unless someone revokes it.

What to do

  • Upgrade GPUStack to 2.2.0 or later, which removes the loopback auto-admin path.
  • Until then, set force_auth_localhost=true, strip any client-supplied X-GPUStack-Real-IP header at the edge, and keep the API off untrusted networks.

After you patch

  • List API keys and revoke any you did not create, especially admin keys with scope *. Review users and custom inference backends for ones you did not add.
  • Rotate worker credentials and the cloud and model-provider secrets GPUStack stores, and check worker hosts for reverse shells.

Sources

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Know a primary source we should add, or a patch status that has changed? Email community@startwithidentity.com. See all briefs in the identity CVE catalog, or volunteer as a CVE Analyst.
Compiled from vendor advisories, NVD, CISA KEV, and public research. CVSS figures can disagree across NVD and the CNA. Confirm affected versions against the vendor advisory before you patch. Independent, community-driven analysis. See the disclaimer.