GPUStack’s 9.8 Flaw Hands Attackers Admin With No Password — Update to 2.2.0 Before November 12


If you run AI models on your own hardware, you probably know GPUStack — the open-source tool that manages GPU clusters and serves AI models. On November 9, 2026, CISA added a critical GPUStack flaw to its Known Exploited Vulnerabilities catalog after confirming attackers are already exploiting it in the wild. The flaw scores 9.8 out of 10, needs no password, and hands a remote attacker full admin control. Here is what happened and what to do about it.

What the Flaw Is

The vulnerability is tracked as CVE-2026-102895. It lives in GPUStack’s login check, in a function called get_current_user. By default, GPUStack trusted any request that appeared to come from the machine itself — the loopback address 127.0.0.1 — and treated it as the built-in administrator, no login required. That is a reasonable shortcut when the request really is local. The problem: a remote attacker could fake being local.

GPUStack decided where a request came from by looking at a reverse-proxy peer or a client-supplied header called X-GPUStack-Real-IP. An attacker simply sends a request claiming that header is 127.0.0.1, and GPUStack believes them. No credentials, no exploit chain, no user interaction — just a crafted header.

What Attackers Can Do With It

Once treated as admin, an attacker can do everything a real administrator can:

  • Create persistent administrator API keys that stay valid even after you patch.
  • Change users and AI models running on the cluster.
  • Steal worker and cloud-provider secrets stored in the system.
  • Run code on the server through the inference-backend endpoint (POST /v2/inference-backends/from-yaml).

The CVE record confirms exploitation was observed in the wild against a GPUStack 2.1.1 deployment. CISA’s assessment lists the flaw as automatable with total technical impact, and federal agencies must remediate by November 12, 2026 — an unusually short three-day deadline that tells you how seriously this is being taken.

Who Is Affected

Every GPUStack version before 2.2.0 is affected. The fix is version 2.2.0. If your GPUStack instance is reachable from the internet — and many AI-serving setups are — treat it as a priority, not a routine update.

How to Fix It

  • Update to GPUStack 2.2.0 or later. This is the real fix.
  • If you cannot update yet: set force_auth_localhost=true so local requests are no longer auto-trusted, strip any client-supplied X-GPUStack-Real-IP header at your reverse proxy or edge, and keep the GPUStack API off untrusted networks entirely.
  • After patching, hunt for compromise. Check for admin API keys you did not create (especially scope * keys) and inference backends created from YAML that you do not recognize — keys minted by an attacker stay valid after the upgrade.
  • Check your logs for requests carrying suspicious X-GPUStack-Real-IP values.

The Bigger Lesson

This flaw is a textbook trust-boundary failure: the software trusted a value the attacker controlled (an HTTP header) to decide identity. Any time a system says “this request is from localhost, so it must be safe,” ask what stops a stranger from saying the same thing. The same pattern shows up in proxies, load balancers and internal APIs everywhere — and it is exactly why internet-facing admin panels need real authentication, not network-based trust.

If you run GPUStack, update today. Only test systems you own or have written permission to test.

Comments

Popular Posts