GPUStack CVE-2026-102895: versions before 2.2.0 treat any loopback request as admin, and a same-host reverse proxy makes every request loopback
GPUStack before 2.2.0 grants administrator rights to loopback traffic by default; the fix shipped in June, the advisory in July, and CISA's exploited listing in November.
CISA added CVE-2026-102895, an authentication bypass in GPUStack, to its Known Exploited Vulnerabilities catalog on November 9, with a due date of November 12 and forensic triage required. GPUStack is an open-source manager for GPU clusters that serve AI models. The flaw is rated 9.8 (CVSS 3.1) and is fixed in version 2.2.0. For self-hosters, the instructive part is how an ordinary reverse-proxy setup turned a convenience for local users into an open admin panel.
Localhost was the password
The project's advisory, GHSA-gj9m-f8ph-pmhr, states the behavior: "In GPUStack before v2.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)."
The advisory gives two ways the source can look like loopback. One is a client-supplied X-GPUStack-Real-IP header. The other requires no trick at all:
every remote request arrives at GPUStack with TCP peer
GPUStack security advisory GHSA-gj9m-f8ph-pmhr127.0.0.1, so the loopback auto-admin branch fires. No header or credential is required.
That sentence describes what the advisory calls "the canonical self-hosted shape," GPUStack behind a same-host reverse proxy. The proxy terminates the outside connection and opens a new one from the local machine, so the application sees its own host as the client for every visitor.
The advisory names the root cause in one line: "Trusting the network source of a request (socket peer, or a client-controllable header) as an authentication signal."
What an attacker gets
The advisory lists the result as "full, unauthenticated administrative access": the ability to "enumerate and modify users, models, workers, and configuration; mint persistent admin API keys (scope ["*"], valid from any source IP thereafter); read worker credentials and cloud/provider secrets."
The persistent keys are the detail that outlives the patch. A key created during the exposure window keeps working after an upgrade unless someone revokes it. CISA's entry also notes "code execution through POST /v2/inference-backends/from-yaml," an admin-only feature. The advisory reports that this has happened: the flaw "has been observed exploited in the wild against a v2.1.1 deployment (attacker-created custom backends running reverse shells)."
Five months from fix to listing
The dates, each from the record that carries it:
- June 18: GPUStack 2.2.0 is published on GitHub. Its release notes, searched for the words security, auth, localhost, loopback and CVE, mention none of them.
- July 31: the project's advisory is dated.
- November 4: the CVE's NVD publication date, per GitHub's advisory database.
- November 9: GitHub reviews the advisory into its global database, and CISA lists the CVE as exploited.
Anyone who tracked releases and upgraded in June was covered without knowing why. Anyone who waits for a CVE feed before acting had nearly five months of exposure after the fix existed.
What to do
Upgrade to 2.2.0 or later, where, per the advisory, "the loopback auto-admin path was removed and client-IP / forwarding-header handling was hardened." If an upgrade has to wait, the advisory gives three workarounds:
- Set
force_auth_localhost=trueso that loopback requests must authenticate. - Make sure the proxy cannot cause external traffic to be treated as loopback, and "strip any client-supplied
X-GPUStack-Real-IPheader at the edge." - "Keep the API off untrusted networks (VPN / edge authentication)."
Then treat any instance that ran a version before 2.2.0 behind a same-host proxy as one that needs review, which is what CISA's forensic triage flag asks of federal agencies. Based on the capabilities the advisory lists, the places to look are admin API keys nobody remembers creating, unfamiliar inference backends, and the worker and provider credentials the server could read, which should be rotated if there is any doubt.
The lesson travels beyond GPUStack. The advisory's remediation line is a rule for any service that ships with a trusted-localhost shortcut: "Do not derive authentication from the request's network source." A reverse proxy on the same host, the setup most self-hosters reach for first, is exactly what turns that shortcut into a public door.
Primary sources: GPUStack advisory GHSA-gj9m-f8ph-pmhr, GitHub Advisory Database entry, GPUStack v2.2.0 release, CISA Known Exploited Vulnerabilities catalog, read 2026-11-16.