CVE

GPUStack Auth Bypass Check (CVE-2026-102895)

Confirm GPUStack instances and test the trusted-loopback auth bypass with a header-only probe pair, then compare against the 2.2.0 fix. KEV, exploited.

AuthorTrickest
100%

Notes on this workflow

Target\nGPUStack server components (any version < 2.2.0 is in scope). Accepts a targets JSONL (host/ip/port/scheme) or plain host lines; server default port is 80.

Parse\nNormalizes targets into one row per (host, port, scheme), deduplicates, drops malformed lines. Probing order randomized.

How it works\nUnauthenticated GET /version fingerprints GPUStack and discloses the exact version (fallback: /openapi.json title/schema). If version >= 2.2.0 or not GPUStack, the differential is skipped entirely. Otherwise two read-only probes on /v2/users: baseline GET (expect 401/403) then HEAD with X-GPUStack-Real-IP: 127.0.0.1 — a 200 turns the unauthenticated 401 into admin access (embedded-gateway trust path, confirmed). GET/HEAD only, max 5 requests; response bodies of the bypassed request are never parsed, logged, or stored. The default-config same-host-proxy case (TCP peer loopback) cannot be confirmed remotely — classified on exposure fingerprint with a manual-review flag. POST /v2/inference-backends/from-yaml (the RCE trigger) is unreachable by construction: the method guard hard-stops on any non-GET/HEAD.

Results\nfindings.jsonl carries every probe field plus enrichment: bypass_confirmed (CRITICAL — assume-compromised wording per KEV forensic triage + SSVC active), exposed_version (HIGH — in-scope version, TCP-peer path flagged for manual confirmation), fingerprint_only (UNKNOWN — escalate), patched INFO, not_gpustack INFO, error. CVSS 9.8, KEV due 2026-11-12, EPSS 8.55%, GHSA-gj9m-f8ph-pmhr, fix 2.2.0 (commit 53f42a6a). Remediation covers upgrade, interim mitigations, and the documented compromise hunt.

Overview

This workflow checks GPUStack, the open-source GPU cluster manager for AI model serving, for CVE-2026-102895: before 2.2.0, a request with no credentials whose source resolves to 127.0.0.1 was promoted to the built-in administrator account, because the localhost trust flag defaulted to off. The advisory documents real exploitation against a 2.1.1 deployment where attackers created inference backends that ran reverse shells, CISA listed it on KEV the day it published, and forensic triage is attached. The probe pair here is deliberately minimal: an unauthenticated request that should be rejected, then the same route with a spoofed loopback header and no body ever read, which shows whether the trusted-source path fires without creating any resource. Each host comes back with a verdict you can feed into exposure management.

Pipeline

  1. Confirm the product with up to five unauthenticated GETs: the /version endpoint for the exact version, the OpenAPI schema as a fallback, and nothing else until the product is confirmed GPUStack.
  2. Send probe A: GET /v2/users with no special headers, which should answer 401 or 403.
  3. Send probe B: HEAD /v2/users with a loopback source header. The HEAD form discloses no body, and the response body is never parsed, logged, or stored; only the status code is recorded. A 200 on B against a 401 on A means the trusted-source bypass fired.
  4. Classify: bypass confirmed on a pre-2.2.0 build, exposed on version alone when the header path was rejected, patched at 2.2.0 or later, and fingerprint-only when the version is unknown.
  5. Reconcile one verdict per target and write findings plus summary counts, with the assume-compromised wording on confirmed rows.

Inputs

  • Target list. GPUStack server addresses you are authorized to test. The default file ships a sample host; bind your own.

Outputs

  • findings.jsonl. One row per host: target, the version evidence, the two probe status codes, verdict, severity, and the manual-check flag where the TCP-peer path cannot be confirmed from outside.
  • summary.jsonl. One line with the total, verdict counts, and the default-configuration note about the loopback trust flag.

Integrations

  • HTTP. Up to five unauthenticated GETs plus one header-paired HEAD with no body disclosure, no POST or PUT ever, no key or user or model creation.

Sample output

The records below are illustrative and do not come from a real run. They show a confirmed bypass, a version-only exposure, and a patched host.

targetversionprobe_a_statusprobe_b_statusverdictdetailerror
gpu-a.example.com2.1.1401200bypass_confirmedtrusted-header path fired on a pre-2.2.0 build; assume compromise and triagenull
gpu-b.example.org2.1.4401401exposed_versionpre-2.2.0 build, header path rejected; TCP-peer path needs a manual checknull
gpu-c.example.net2.2.0401401patchedat or above the 2.2.0 fixnull
{"cve": "CVE-2026-102895", "product": "GPUStack", "total": 3, "verdict_counts": {"bypass_confirmed": 1, "exposed_version": 1, "patched": 1}, "kev": true, "kev_due": "2026-11-12", "default_config_note": "the localhost trust flag defaulted to off before 2.2.0, so stock installs trusted loopback-sourced requests as admin"}

FAQ

Does bypass_confirmed mean the server was compromised?

Treat it as assume-compromised. The advisory documents an intrusion pattern against this exact build where the bypass led to attacker-created inference backends running reverse shells, and the KEV entry carries forensic triage. Hunt for unexpected backends and workload definitions, then rotate credentials the server holds.

Why does probe B use HEAD and a header?

The bypass logic trusts the request's apparent source address. A HEAD request to the same route carries no response body, and the workflow never parses or stores the body, so the test shows whether the trust path fires while touching nothing. No resource is created and no state is changed.

What is CVE-2026-102895?

Improper authentication in the request authentication fallback of GPUStack before 2.2.0: a request whose source resolves to the loopback address was promoted to the built-in administrator unless the localhost trust flag was enabled, and it defaulted to disabled. CISA listed it on KEV on 2026-11-09.

What do the milder verdicts mean?

exposed_version marks a pre-2.2.0 build where the spoofed-header path was rejected; the direct TCP-peer path may still work from inside the host's network segment, so it needs a manual check. fingerprint_only means GPUStack was confirmed but the version could not be read, and it escalates rather than clears the host.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.