GPUStack Trusted Loopback Requests as Admin, and Attackers Used It to Run Reverse Shells
Security / news
GPUStack Trusted Loopback Requests as Admin, and Attackers Used It to Run Reverse Shells
CVE-2026-102895, a 9.8-rated bypass fixed in GPUStack 2.2.0, let any request that looked local run code on GPU worker hosts.
An unauthenticated attacker who can reach a GPUStack server (any version before 2.2.0, default configuration) can become its built-in administrator, then read cloud credentials and run commands on GPU worker hosts. The flaw is CVE-2026-102895, rated 9.8 on the CVSS severity scale, and the GPUStack advisory says exploitation was observed in the wild.
GPUStack is an open-source GPU cluster manager for serving AI models. CISA added the flaw to its Known Exploited Vulnerabilities catalog on Nov. 9 with a Nov. 12 deadline for federal civilian agencies, according to the NVD record.
What an attacker needs
The advisory traces the bug to get_current_user in gpustack/api/auth.py. When the setting force_auth_localhost is false, which is the default, the function treats a request from a loopback address as the built-in administrator. The advisory calls the root cause "Trusting the network source of a request" as an authentication signal.
A remote request can appear to come from 127.0.0.1 in two ways. A reverse proxy on the same host, configured with proxy_pass http://127.0.0.1:<port>, makes every forwarded request arrive from loopback. Alternatively, an attacker can send a forged X-GPUStack-Real-IP: 127.0.0.1 header, which GPUStack's client-IP logic accepted.
What an administrator can do
The advisory lists user and model changes, creation of persistent administrator API keys, and disclosure of worker and cloud-provider secrets. The step that matters most is POST /v2/inference-backends/from-yaml, which turns administrator access into code execution on worker hosts. The advisory says attackers did exactly that against a 2.1.1 deployment, creating custom backends that launched reverse shells. It credits Javier Sixto of ulex.fr with reporting the in-the-wild exploitation.
| Item | Value |
|---|---|
| Affected | gpustack before 2.2.0 |
| Fixed | 2.2.0 |
| CVSS 3.1 | 9.8 (AV:N/AC:L/PR:N/UI:N) |
| Observed exploit | 2.1.1 deployment, reverse shells |
The timeline
- Nov. 4: the NVD record is published, with the fix in 2.2.0.
- Nov. 9: CISA adds CVE-2026-102895 to KEV.
- Nov. 12: the federal remediation deadline passes.
The advisory credits several independent reporters, among them Nikko Enggaliano, Wei Yunzhou, and Rui Yang and Haoyu Wang of Johns Hopkins University. It gives no report or fix dates, so how long the bug was known before the patch is not public.
Patch, then rotate
The 2.2.0 release removes the loopback auto-administrator path and tightens how client IP and forwarding headers are read. Operators who cannot upgrade can set force_auth_localhost=true, strip client-supplied X-GPUStack-Real-IP headers at the edge, and keep the API off untrusted networks.
The score is accurate here, because the exploit needs no credentials and ends in command execution. One consequence is easy to miss: eSecurity Planet reports that upgrading does not revoke administrator API keys an attacker already created. Any server that was reachable before 2.2.0 should have its keys and every worker and cloud secret rotated.
The pattern is familiar from LiteLLM's KEV listing and the Hugging Face GGUF malware case: AI serving infrastructure holds cloud credentials, and attackers are collecting them. The next date to watch is the 2.2.0 upgrade itself, since nothing in the advisory says an earlier build is safe.
Sources
More in Security
- 01Drupal Cuts Core Security Support to 8 Months as AI-Found Bugs Pile UpAnthropic's scanner found the Drupal installer bug. Drupal's PSA-2026-11-02 says the report volume exceeds what its team can sustain on current funding.
- 02An Open Database Held About 2 Billion Credential Records, With Session TokensResearcher Jeremiah Fowler found 8,471 folders of plaintext logins and 400,000 malware logs, but nobody knows who ran the server or how many people are in it.
- 03OpenSSH 10.6p2 Fixes a Password Bypass on Alpine and Other musl Linux SystemsA password of 257 to 1,024 bytes logs in as an account with no password, and CISA lists the flaw as exploited.
- 04CISA Lists Synology, Axis 1 and REDCap Flaws Aged 2 Years, 59 Days and 12 DaysApache says it will not ship a fixed Axis 1.x release, so the only patch for the 12-day-old flaw is a commit you build yourself.