PyPI
CVE-2026-102895
GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated admin
Actively exploited: CISA added it to its Known Exploited Vulnerabilities catalog on 9 Nov 2026.
- Severity
- Critical 9.8
- Published
- 9 Nov 2026
- Last changed
- 9 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 2.2.0
- Exploit chance
- 19% in the next 30 daysHigher than 97% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Improper authentication (CWE-287)Authentication bypass by spoofing (CWE-290)Origin validation error (CWE-346)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Also known as
- GHSA-gj9m-f8ph-pmhr
- Sources
- OSV.dev and GitHub
Description
In GPUStack before v2.2.0, get_current_user (in gpustack/api/auth.py) promotes any request whose source is considered loopback to the built-in administrator account when force_auth_localhost is False (the default). The "source" is derived by client_ip_getter, which can be made to report 127.0.0.1 without any credentials in two ways:
- Same-host reverse proxy (TCP peer). In the canonical self-hosted shape — GPUStack behind a same-host reverse proxy with proxy_pass http://127.0.0.1: — every remote request arrives at GPUStack with TCP peer 127.0.0.1, so the loopback auto-admin branch fires. No header or credential is required. Verified end-to-end against HEAD 6bee5883.
- X-GPUStack-Real-IP header. A forged X-GPUStack-Real-IP: 127.0.0.1 header can cause the request source to be treated as loopback.
Either path yields full, unauthenticated administrative access over the network: enumerate and modify users, models, workers, and configuration; mint persistent admin API keys (scope ["*"],…
Workarounds
- Set force_auth_localhost=true to require authentication even for loopback requests.
- Ensure the reverse proxy / gateway cannot cause GPUStack to treat external traffic as loopback, and strip any client-supplied X-GPUStack-Real-IP header at the edge.
- Keep the API off untrusted networks (VPN / edge authentication).
Affected software
| Software | Affected versions |
|---|---|
gpustackPyPI · osv:PyPI:gpustack |
|
About gpustack
- Weekly downloads (PyPI)
- 746PyPI Stats, 24 Nov 2026
Vulnerabilities in gpustack
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 2
- High, last 12 months
- 1
- Known exploited
- 1
- CVE-2026-103002GPUStack: Missing authorization on several cluster and resource endpoints allows cross-user access and cluster takeoverHigh 8.8 10 Nov 2026
- CVE-2026-102894GPUStack: SAML callback trusts an unverified SAMLResponse, allowing authentication bypass and account takeoverCritical 9.1 10 Nov 2026
Known exploited
- CISA name
- GPUStack Improper Authentication Vulnerability
- Required action
- 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…
- Due for US agencies
- 12 Nov 2026
- Used in ransomware
- Not known
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-102895
- GitHub Advisory Database https://github.com/advisories/GHSA-gj9m-f8ph-pmhr