GPUStack fixed CVE-2026-102895 on 18 June 2026. Months later, attackers broke into a server still running version 2.1.1, made themselves administrator without a password, and used the platform’s own model-backend feature to start reverse shells on its GPU workers.
In short: GPUStack CVE-2026-102895 is an exploited authentication bypass that grants full admin access to anyone whose request looks like it came from localhost. Upgrade to at least 2.2.2, not just 2.2.0, and then hunt for the persistent API keys an attacker would have left behind.
What is GPUStack?
GPUStack is an open-source platform for running and serving AI models across a cluster of GPU machines. A central server manages users, models and worker hosts, and exposes an OpenAI-style API to applications.
It is popular. The repository had 6,134 stars and 768 forks when we checked the GitHub API, and the Cloud Security Alliance counted more than 940,000 Docker Hub pulls in early November. CSA and Ostorlab both note that pull counts are not a measure of exposed servers, and nobody has published an internet scan count.
How does the GPUStack CVE-2026-102895 bypass work?
The server trusted the network source of a request as proof of identity. According to the GitHub advisory GHSA-gj9m-f8ph-pmhr, any request considered to come from loopback was promoted to the built-in administrator, because the force_auth_localhost setting defaults to false.
That “loopback” source could be produced in two ways, per the advisory:
| Path | Why it works |
|---|---|
| Same-host reverse proxy | A proxy on the same machine forwards every remote request from 127.0.0.1, so all outside traffic looks local |
Forged X-GPUStack-Real-IP header |
A client-supplied header could make the request source read as loopback |
The first path is the dangerous one, because it is the normal way people deploy a self-hosted service. No special header or credential is needed. Ostorlab notes the header path depends on the gateway mode, while CSA recommends assuming the broader reading in NVD and the advisory.
With admin access an attacker can manage users, models and workers, read worker credentials and cloud provider secrets, and mint admin API keys with full scope that keep working from any IP. The advisory says admin features such as registering a custom inference backend from YAML lead to code execution on worker hosts.
Who is exploiting it?
Nobody has said. The advisory reports exploitation against a single 2.1.1 deployment, credited to Javier Sixto of ulex.fr, and CSA and Ostorlab both point out that no victim count, first-seen date or indicators of compromise have been published.
| Date | Event |
|---|---|
| 19 May 2026 | Fix committed to the GPUStack repository |
| 18 June 2026 | GPUStack 2.2.0 released with the fix |
| 24 July 2026 | GPUStack 2.2.2 released, fixing the SAML bypass CVE-2026-102894 |
| 4 November 2026 | CVE published in NVD |
| 9 November 2026 | CISA adds CVE-2026-102895 to KEV, due 12 November |
| 11 November 2026 | GPUStack 2.3.1 released |
The gap is the story. The patch existed for almost five months before the KEV listing, and an internet-facing server still went unpatched. The Hacker News reported the GPUStack listing alongside the OpenSSH flaw we covered in OpenSSH sshole: 40 hours from patch to root, part of a run of KEV additions hitting management planes.
Why 2.2.0 is not enough
Upgrading to 2.2.0 clears the KEV entry but leaves a second critical hole open. CVE-2026-102894 (CVSS 9.1) is a bypass in the SAML login callback: GitHub’s advisory says the endpoint issued a session without ever verifying the SAML response’s signature.
Two details make it worse than it sounds. It works even if SAML was never configured, and there is no configuration workaround; the only interim measure is blocking network access to /auth/saml/callback. It affects versions from 0.7.1 up to the fix in 2.2.2. CSA notes it is not in KEV, and no in-the-wild use has been reported.
Qovery’s runbook goes further and recommends 2.3.1, saying 2.3.0 carried a separate server-side code execution flaw fixed in 2.3.1. That is Qovery’s reading of the later advisories; the other sources we read stop at 2.2.2.
What should defenders do?
Patch first, then assume the old version may have been abused. Ostorlab and Qovery both warn that upgrading does not remove keys or backends an attacker already created.
- Upgrade. Go to 2.2.2 at minimum and preferably the current 2.3.1. Ostorlab notes that pulling a new image does not restart a running container, so recreate it and confirm the version.
- Close the bypass paths. Set
force_auth_localhostto true, strip any client-suppliedX-GPUStack-Real-IPheader at the proxy, and keep the API behind a VPN or authenticated gateway, as the advisory advises. - Audit API keys and users. Revoke any full-scope key or admin account that nobody on your team created.
- Audit inference backends. Compare every backend against change records and treat anything created through
POST /v2/inference-backends/from-yamlas suspect. - Hunt in logs. Look for successful API calls carrying no credentials,
X-GPUStack-Real-IPheaders from outside, and hits on/auth/saml/callback. - Check the workers. Look for shells spawned by backend processes, unexpected containers and new outbound connections.
- Rotate secrets after upgrading. Qovery lists worker tokens, cloud and model provider credentials, the JWT secret and admin passwords, then reviewing cloud audit logs for the identities GPUStack held.
The pattern is familiar from Microsoft Agent Framework PyPI attack: AI infrastructure collects cloud keys and GPU access in one place, so a single admin bypass reaches far beyond the app itself. For another management-plane bypass with similar cleanup, see Xen Orchestra CVE-2026-133469.
What we do not know
No source we read gives an attacker name, a count of compromised servers, a date of first exploitation or any indicators. Claims that a public proof of concept exists are disputed: CSA notes that one outlet says so while the vendor and NVD do not. There are also no published MITRE ATT&CK mappings, so we have not added our own.
The bottom line
GPUStack CVE-2026-102895 is a reminder that “localhost is trusted” breaks the moment a reverse proxy sits on the same machine. The fix has existed since June, attackers have used the gap, and 2.2.0 still leaves a SAML bypass open. Upgrade to 2.2.2 or later, then go looking for keys and backends you did not create.
Sources
- GitHub Advisory Database, GHSA-gj9m-f8ph-pmhr: GPUStack authentication bypass via trusted loopback source (CVE-2026-102895)
- GitHub Advisory Database, CVE-2026-102894: GPUStack SAML callback trusts an unverified SAMLResponse
- GitHub, gpustack/gpustack releases
- Cloud Security Alliance, GPUStack CVE-2026-102895 KEV listing research note, 10 November 2026
- Ostorlab, GPUStack auth bypass RCE, exploited in the wild, updated 11 November 2026
- Qovery, GPUStack CVE-2026-102895 patch and hardening runbook, 21 November 2026
- SecurityOnline, GPUStack authentication bypass CVE-2026-102895 exploited
- The Hacker News, CISA warns of active exploitation of OpenSSH, GPUStack, FreeSWITCH, and IBM flaws, 10 November 2026
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.