CVE-2026-102895
9.8 CRITICALpublic exploit availablePublished 2026-11-04 · Updated 2026-11-04
AI risk analysis
- Summary
- GPUStack versions prior to 2.2.0 allowed unauthenticated administrative access due to improper validation of request source IP in the get_current_user function, where a remote attacker could spoof the loopback address (127.0.0.1) via reverse proxy misconfiguration or a forged X-GPUStack-Real-IP header, bypassing authentication entirely.
- Exploitability
- Exploitation is straightforward for remote attackers with network access to the API endpoint, requiring only manipulation of the X-GPUStack-Real-IP header or exploitation of a same-host reverse proxy configuration.
- Blast radius
- Successful exploitation grants full administrative control, enabling creation of persistent credentials, theft of worker and cloud secrets, and remote code execution via the /v2/inference-backends/from-yaml endpoint.
- Detection
- Look for requests with X-GPUStack-Real-IP set to 127.0.0.1 or ::1 from non-loopback source IPs, especially when combined with administrative API calls (e.g., POST /v2/inference-backends/from-yaml, user/model creation endpoints) and absence of valid authentication tokens in the Authorization header.
- Prioritized remediation
- Upgrade to GPUStack version 2.2.0 or later, which fixes the IP validation flaw in get_current_user.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
GPUStack is an open-source GPU cluster manager for AI model serving and GPU instance provisioning. Prior to 2.2.0, get_current_user in gpustack/api/auth.py treated a loopback request source as the built-in administrator when force_auth_localhost was false, which was the default. A remote request could appear to originate from 127.0.0.1 because client_ip_getter accepted a same-host reverse proxy peer or a client-supplied X-GPUStack-Real-IP loopback value. The bypass allowed unauthenticated administrative access, including user and model changes, persistent administrator API-key creation, disclosure of worker and cloud-provider secrets, and code execution through POST /v2/inference-backends/from-yaml. Exploitation was observed in the wild against a 2.1.1 deployment. This issue is fixed in version 2.2.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-287, CWE-290, CWE-346
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-100646PoC
- CRITICALCVE-2026-101956
- HIGHCVE-2026-107400
- CRITICALCVE-2026-117532PoC
- HIGHCVE-2026-70213
- HIGHCVE-2014-125138PoC
- HIGHCVE-2022-51019PoC
- HIGHCVE-2025-51457
Related by shared AI tags and CWE weakness class. Browse the full archive.