GPUStack CVE-2026-102895: Patched in June, Hacked Anyway

By 6 min read
GPUStack CVE-2026-102895 authentication bypass exploited against self-hosted AI inference servers

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.

Five-stage attack chain from a proxied request to admin access to code execution on worker hosts
A localhost trust flaw turns any proxied request into admin access and then code execution on workers. Per the GitHub advisory.

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
Timeline from the May fix commit through releases to the CISA KEV listing in November
The patch existed for almost five months before CISA listed the bug as exploited. Dates as reported.

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.

  1. 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.
  2. Close the bypass paths. Set force_auth_localhost to true, strip any client-supplied X-GPUStack-Real-IP header at the proxy, and keep the API behind a VPN or authenticated gateway, as the advisory advises.
  3. Audit API keys and users. Revoke any full-scope key or admin account that nobody on your team created.
  4. Audit inference backends. Compare every backend against change records and treat anything created through POST /v2/inference-backends/from-yaml as suspect.
  5. Hunt in logs. Look for successful API calls carrying no credentials, X-GPUStack-Real-IP headers from outside, and hits on /auth/saml/callback.
  6. Check the workers. Look for shells spawned by backend processes, unexpected containers and new outbound connections.
  7. 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

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is CVE-2026-102895?

CVE-2026-102895 is a critical authentication bypass in GPUStack, an open-source platform for running AI models on GPU clusters. Before version 2.2.0, GPUStack treated any request whose source looked like loopback as the built-in administrator, and that source could be faked by a same-host reverse proxy or a forged X-GPUStack-Real-IP header.

Is the GPUStack vulnerability being exploited?

Yes. The GitHub advisory says it was exploited in the wild against a GPUStack 2.1.1 deployment, where attackers created custom backends that ran reverse shells. CISA added it to the Known Exploited Vulnerabilities catalog on 9 November 2026.

Which GPUStack version fixes CVE-2026-102895?

Version 2.2.0 fixes CVE-2026-102895, but 2.2.2 is needed to also fix the SAML bypass CVE-2026-102894. The latest release at the time of writing is 2.3.1, published on 11 November 2026.

Does setting force_auth_localhost fix the GPUStack bypass?

Setting force_auth_localhost to true is the advisory's main workaround for CVE-2026-102895, together with stripping client-supplied X-GPUStack-Real-IP headers at the edge. It does not help against CVE-2026-102894, which has no configuration workaround, so upgrading is still required.

How do I check if my GPUStack server was compromised?

Look for API keys with full scope that nobody on your team created, unknown admin users, and inference backends registered through the from-yaml endpoint. On worker hosts, look for shells spawned by backend processes and new outbound connections, then rotate worker and cloud credentials.

Keep reading

GPUStack CVE-2026-102895GPUStackCVE-2026-102894CISA KEVAI infrastructure securityvulnerability management