Image: GPUStack, gpustack.ai. Official Open Graph image from the GPUStack project site, used with attribution.
GPUStack Auth Bypass (CVE-2026-102895): Upgrade to 2.3.1 — the Loopback Flaw That Hands Out Admin
Evidence: RESEARCH_ONLY — NOT LAB TESTED. This article is based on primary sources read directly on 2026-11-23 (the two GitHub security advisories, the NVD record for CVE-2026-102895, the CISA Known Exploited Vulnerabilities feed, the v2.2.0, v2.2.2 and v2.3.1 release notes, the GPUStack LICENSE file and the official documentation). The upgrade path, the workaround and the audit steps below were not run in a lab. Nothing in this article describes a tested upgrade, a tested backup, or a tested configuration change. See Verification scope.
The question
You run GPUStack to serve local large language models on your own GPUs — the open-source GPU cluster manager that schedules models across workers and exposes them through one API. In November 2026, CISA added a GPUStack authentication bypass to its Known Exploited Vulnerabilities catalog: it was already being exploited in the wild. Are you affected, and what exactly do you do about it?
The decision up front: check your GPUStack version, then upgrade to 2.3.1, the latest stable release (2026-11-11). Version 2.2.2 is the minimum that closes the two CVEs in this article — do not stop there. After upgrading, audit your API keys, users and custom inference backends, and rotate worker, cloud and registry secrets if the deployment was ever reachable from an untrusted network: the upgrade does not revoke API keys an attacker already created.
What the flaw is
CVE-2026-102895 is an improper-authentication flaw in GPUStack before 2.2.0, scored CVSS 3.1 9.8 Critical (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). There is no CVSS 4.0 score for this CVE. The advisory is GHSA-gj9m-f8ph-pmhr.
In affected versions, get_current_user treated any request whose source looked like loopback as the built-in administrator when force_auth_localhost was false — the default. A remote request can look like 127.0.0.1 in two ways, and neither needs credentials:
- Same-host reverse proxy. This is the canonical self-hosted shape:
proxy_pass http://127.0.0.1:<port>. Every remote request arrives at GPUStack with a TCP peer of127.0.0.1. No header and no credential is needed. - A forged
X-GPUStack-Real-IP: 127.0.0.1header (embedded gateway mode).
The result is full unauthenticated admin access: enumerate and modify users, models, workers and configuration; mint persistent admin API keys; read worker credentials and cloud/provider secrets; and run code on worker hosts through the admin-only POST /v2/inference-backends/from-yaml endpoint, which creates custom inference backends.
The flaw was fixed in 2.2.0 — the loopback auto-admin path was removed and client-IP and forwarding-header handling was hardened (fix commit 53f42a6, PR #5346, merged 2026-05-19). Note the trap: the v2.2.0 release notes (2026-06-18) contain no security section and never mention the loopback fix. Cite the advisory, not the release notes, as the fix source.
Exploitation is confirmed — and the federal deadline has passed
The advisory states the flaw was “observed exploited in the wild against a v2.1.1 deployment (attacker-created custom backends running reverse shells)”. The in-the-wild report is credited to Javier Sixto (ulex.fr), and the NVD description repeats the same statement.
CISA added CVE-2026-102895 to the Known Exploited Vulnerabilities catalog on 2026-11-09, with a federal remediation due date of 2026-11-12 — already passed. The KEV entry (catalog version 2026.11.20, 1,790 entries) records forensic triage as Yes and known ransomware campaign use as Unknown: do not claim ransomware groups used this CVE. The required action cites BOD 26-04.
The timeline is the story: the fix was merged in May 2026, 2.2.0 shipped in June, the advisory was published 2026-07-31, the CVE reached NVD on 2026-11-04, and KEV listing followed on 2026-11-09. The patch predates public disclosure by about four and a half months. Anyone still on a pre-2.2.0 release in November 2026 is the unpatched tail.
The two sibling flaws — why 2.2.0 alone is not enough
Upgrading only to 2.2.0 closes the loopback bypass but leaves two more flaws open. The table below is the whole version story.
| CVE | Severity | Affected | Fixed in | Exploitation |
|---|---|---|---|---|
| CVE-2026-102895 (loopback auth bypass) | CVSS 3.1 9.8 Critical | < 2.2.0 | 2.2.0 | Observed in the wild (v2.1.1); in CISA KEV since 2026-11-09 |
| CVE-2026-102894 (SAML callback bypass) | CVSS 3.1 9.1 Critical | 0.7.1 – < 2.2.2 | 2.2.2 | No evidence of exploitation; not in CISA KEV |
| CVE-2026-103002 (missing authorization, cluster takeover) | CVSS 3.1 8.8 High | 2.2.0 – 2.2.1 | 2.2.2 | No exploitation evidence in the sources read |
CVE-2026-102894 (GHSA-62m9-f875-rqw6) is the more surprising of the two. The /auth/saml/callback endpoint Base64-decoded the posted SAML XML, used the NameID and attributes to resolve or provision a user, and minted a gpustack_session JWT — without verifying the signature, issuer, audience, destination or time. No credentials are needed, and SAML SSO does not even need to be configured: every deployment in the affected range is exposed. An attacker can impersonate any existing user, including the admin, or provision a new non-admin user. There is no config-level workaround; until you upgrade, the only mitigation is to block network access to /auth/saml/callback at the reverse proxy or ingress. One known limitation remains on fixed versions: a captured, validly signed SAML assertion can still be replayed until its validity window (NotOnOrAfter) passes — consumed assertion IDs are not tracked and there is no InResponseTo binding — so keep IdP assertion lifetimes short and use HTTPS.
CVE-2026-103002 (GHSA-3hch-x692-6qj3) is missing authorization on several cluster and resource endpoints: the cluster API-server proxy forwarded an authenticated non-admin user’s requests to a selected Kubernetes cluster without resource-level authorization, allowing cross-user access and cluster takeover. It affects only 2.2.0–2.2.1 and is fixed in 2.2.2.
Why the target is 2.3.1, not 2.2.2
Version 2.2.2 (2026-07-24) is the floor: it closes the SAML bypass and the cluster-takeover flaw. It is not the safe stopping point, because later releases fixed more security issues:
- v2.3.0 (2026-10-23) fixed a worker-management auth bypass (GHSA-3r33-m53h-p2rw), a Kubernetes proxy path-normalization bypass (GHSA-8wmp-hw5p-v2j7) and cross-cluster worker registration (GHSA-g665-42m7-mgcv).
- v2.3.1 (2026-11-11), the latest stable, fixed 11 security issues, including server-side code execution during model configuration evaluation (GHSA-gjf9-3p3r-9h9c), Hugging Face token and registry password disclosure in cluster responses (GHSA-7345-vjfr-2hcx), and unauthenticated access through the forward proxy’s
/metricspath, plus authorization hardening across clusters, models, dashboards and metrics.
There is no stable 2.3.2 and no stable 2.2.3 — do not look for one. GPUStack publishes no formal end-of-life or supported-version matrix; it ships rolling releases, and the supported line is the latest stable. That is why stopping at 2.2.x is not a safe plan: older lines receive no security backports.
Upgraders coming from 2.2.x should also expect two renames that landed in 2.2.2: the Helm worker Service was renamed from worker to gpustack-worker, and GPUSTACK_USAGE_ROLLUP_TIMEZONE was renamed to the platform-wide GPUSTACK_TIMEZONE.
How to upgrade
The official upgrade procedure, from the GPUStack documentation:
- Back up the database first. For the embedded PostgreSQL, the data lives at
/var/lib/gpustack/postgresql/data. Stop the GPUStack server/container first and then copy that data directory, or usepg_dumpagainst the embedded database — do not copy the data directory while PostgreSQL is running, or the backup may be inconsistent and unrestorable. Confirm the copy orpg_dumpcompleted without error — the backup must be restorable — before starting the upgrade; the upgrade does not protect you from a failed migration. - Upgrade the server first, then the workers. Pull the new image (2.3.1) and recreate each container with the same arguments and volumes.
- Do not upgrade from or to
main(development) or release-candidate versions. Use the stable 2.3.1 release.
Rollback: if the upgrade fails, stop the new container, restore the database backup made in step 1, and redeploy the previous image version. Note that once a database migration has completed, the downgrade may be one-way — the old version may not run against the migrated database.
If you run GPUStack behind a reverse proxy, confirm after the upgrade that the proxy still reaches the server and that the API is not exposed to untrusted networks without authentication. The default ports are UI 80, TLS 443, API 30080, proxy 30079, embedded PostgreSQL 5432 and metrics 10161 — know which of these your network actually exposes.
If you cannot upgrade yet
The workaround below applies only to versions before 2.2.0, and only as a stopgap until the upgrade happens:
- Set
force_auth_localhost=trueso loopback requests also require authentication: CLI flag--force-auth-localhost, environment variableGPUSTACK_FORCE_AUTH_LOCALHOST=true, orforce_auth_localhost: truein the config file — then restart the server. In Docker, pass it as a start argument after the image name or with-e GPUSTACK_FORCE_AUTH_LOCALHOST=true. - Strip client-supplied
X-GPUStack-Real-IPheaders at the edge proxy. - Keep the API off untrusted networks.
Do not carry this flag forward as hardening: on GPUStack 2.2.0 and later, --force-auth-localhost is deprecated and a no-op — localhost callers are always authenticated there, and the flag does nothing. For the SAML flaw there is no config workaround at all: block /auth/saml/callback at the proxy until you upgrade.
After the upgrade: audit, because the upgrade does not clean up
This is the step most upgrade guides skip, and for this CVE it is the most important one. Upgrading does not revoke admin API keys an attacker already minted. The advisory is explicit: keys created through this flaw have scope ["*"] and stay valid from any source IP after the upgrade.
If your deployment was ever reachable from an untrusted network while on a vulnerable version, treat it as potentially compromised:
- Audit and delete API keys you do not recognise, and review users and custom inference backends for anything you did not create.
- Rotate worker credentials, cloud and provider secrets, and registry passwords that the deployment could have exposed.
- Look for attacker-created custom backends — in the observed exploitation, that is how the reverse shells were run.
What GPUStack is, and what it runs on
GPUStack is open source under the Apache License 2.0. It manages GPU clusters and serves large language models through backends including vLLM, llama-box and vox-box. The support matrix from the official documentation (version 2.3): the server runs via Docker (Docker Desktop on Windows and macOS is supported for the server); workers are Linux-only; NVIDIA Compute Capability 6.0+ is required (vLLM needs 7.0+ on AMD64 Linux); a pip install needs Python 3.10–3.12 and CUDA Toolkit 12.4 or later; an external database needs PostgreSQL 13.0+ or MySQL 8.0.36+. Models served through GPUStack keep their own licenses.
Verification scope
- Primary sources read directly on 2026-11-23: GHSA-gj9m-f8ph-pmhr, GHSA-62m9-f875-rqw6, the NVD record for CVE-2026-102895, the CISA KEV JSON feed (catalog 2026.11.20), the v2.2.0, v2.2.2 and v2.3.1 release notes, the releases list, the LICENSE file, and the official documentation (CLI reference 2.1 and latest, installation 2.3, Docker upgrade guide).
- Release dates (2.2.0 2026-06-18, 2.2.2 2026-07-24, 2.3.0 2026-10-23, 2.3.1 2026-11-11) and the GHSA publication date rest on multiple agreeing secondary sources; the GitHub release-page text does not expose a publication-date field. The CVSS 9.1 score for CVE-2026-102894 and the 8.8 score for CVE-2026-103002 likewise rest on agreeing secondary sources reading the NVD/CVE records.
- No EPSS exploitation-probability number is cited in this article: the sources read disagree with each other, and the value changes daily. No count of exposed instances, download counts or project popularity figures is cited: none was verified.
- The upgrade, backup, workaround and audit steps in this article were not run in a lab. This article is RESEARCH_ONLY.
Sources
- GHSA-gj9m-f8ph-pmhr — GPUStack authentication bypass (CVE-2026-102895)
- NVD — CVE-2026-102895
- CISA Known Exploited Vulnerabilities catalog (JSON feed)
- GHSA-62m9-f875-rqw6 — SAML callback bypass (CVE-2026-102894)
- GPUStack v2.2.2 release notes
- GPUStack v2.3.1 release notes
- GPUStack releases
- GPUStack LICENSE (Apache-2.0)
- GPUStack documentation — installation (2.3)
- GPUStack documentation — Docker upgrade guide
Related reading
- LiteLLM: One OpenAI-Compatible API for 100+ Models — another self-hosted piece of the local-LLM stack worth securing the same way.
- Dokploy: Upgrade to 0.31.4 — 12 CVEs, 6 Critical, One Member Away from Host Takeover — the same upgrade-then-audit pattern for a self-hosted platform.
- NginxPulse: Upgrade to 1.6.26 — an Unauthenticated SQL Injection in Your Log Dashboard — a recent critical upgrade in the same self-hosted stack.
Bình luận
Bình luận được duyệt trước khi hiển thị.Đang tải bình luận…
Để lại bình luận