CVE-2026-102895: GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated admin
Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-gj9m-f8ph-pmhr
Summary
GPUStack before v2.2.0 contains an authentication bypass flaw where loopback requests are incorrectly granted full administrative privileges. All administrators of self-hosted GPUStack instances must update to version 2.2.0 or later immediately.
Who is affected
The vulnerability allows unauthenticated attackers to gain full administrative control over GPUStack, including API key generation and system configuration modification. This occurs because the application incorrectly trusts requests originating from the loopback address or those containing a forged X-GPUStack-Real-IP header. Remote code execution is possible by leveraging administrative endpoints such as backend creation.
Exploitability
This vulnerability is critical, carrying a CVSS base score of 9.8, and is listed in the CISA Known Exploited Vulnerabilities catalog as actively exploited in the wild. With an EPSS score of 0.057, the likelihood of exploitation is significant, and the low attack complexity makes it trivial for remote attackers to gain unauthorized access.
Remediation
- Upgrade the gpustack package to version 2.2.0 or later.
- If immediate patching is not possible, set force_auth_localhost to true in the application configuration.
- Ensure reverse proxies are configured to strip client-supplied X-GPUStack-Real-IP headers.
How to check your project
- Check the version of the installed gpustack package using 'pip show gpustack'.
- Inspect application configurations for the 'force_auth_localhost' setting to determine if the mitigation is currently active.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | gpustack |
>= 0, < 2.2.0 | 2.2.0 | python -m pip install 'gpustack>=2.2.0' |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
CISA Known Exploited Vulnerabilities
Added 2026-11-09 · Federal remediation due 2026-11-12 · Known ransomware use: Unknown
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
FAQ
Is this vulnerability actively being exploited?
Yes, this vulnerability is listed in the CISA Known Exploited Vulnerabilities catalog, confirming it has been used in actual attacks.
What is the primary cause of this security flaw?
The application incorrectly relies on network source information-specifically loopback socket peers and client-controlled headers-to authenticate administrative users.
Can I prevent this without upgrading?
You can mitigate the risk by setting 'force_auth_localhost' to true and strictly filtering incoming headers at your reverse proxy, though upgrading to version 2.2.0 is the recommended permanent solution.
Original advisory description
References
- WEB https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-102895
- WEB https://github.com/gpustack/gpustack/pull/5346
- WEB https://github.com/gpustack/gpustack/commit/53f42a6a553542974396d16a4ff6b12bcbedb48d
- PACKAGE https://github.com/gpustack/gpustack
- WEB https://github.com/gpustack/gpustack/releases/tag/v2.2.0
- WEB https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-102895
Source records: GHSA-gj9m-f8ph-pmhr (OSV.dev) · EPSS by FIRST, 2026-11-26 · CISA KEV catalogue.