GPUStack: Authentication bypass via trusted loopback source (reverse-proxy TCP peer or X-GPUStack-Real-IP header) grants unauthenticated admin
Severity and exploitation
Assessment vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAssessment vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSeverity
critical9.8CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Confirmed exploited · CISA KEV
CISA has recorded exploitation in the wild. Review its required action.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Package fixes recorded
Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.
What this means
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:
Source excerpt · OSVAttack conditions
- Set
force_auth_localhost=trueto require authentication even for loopback requests.
Excerpt from the original source description below.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
gpustack · GitHub_M
gpustack
1 range
gpustack · GitHub_M
gpustack
Compare with this publisher’s ranges. This does not inspect your installation.
affected
< 2.2.0
Other versions: unknown
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.2.0Ecosystem versions | 2.2.0 |
Version evidence: OSV · GHSA-gj9m-f8ph-pmhr
View original version evidence (57 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.
Upgrade to 2.2.0 or later.
Remove implicit loopback-based admin, and only accept a real client-IP header from an authenticated/trusted gateway (never from arbitrary clients).
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.
CISA required action ↗cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
Impact
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:<port>— every remote request arrives at GPUStack with TCP peer127.0.0.1, so the loopback auto-admin branch fires. No header or credential is required. Verified end-to-end against HEAD6bee5883. X-GPUStack-Real-IPheader. A forgedX-GPUStack-Real-IP: 127.0.0.1header 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 ["*"], valid from any source IP thereafter); read worker credentials and cloud/provider secrets. Combined with admin-only functionality such as POST /v2/inference-backends/from yaml, this leads to code execution on worker hosts.
This vulnerability has been observed exploited in the wild against a v2.1.1 deployment (attacker-created custom backends running reverse shells).
Root cause
Trusting the network source of a request (socket peer, or a client-controllable header) as an authentication signal. When GPUStack is fronted by a same-host reverse proxy, the socket peer is always loopback, so the "localhost is trusted" assumption no longer holds.
Patches
Fixed in gpustack 2.2.0: the loopback auto-admin path was removed and client-IP / forwarding-header handling was hardened. Upgrade to 2.2.0 or later.
Workarounds
- Set
force_auth_localhost=trueto 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-IPheader at the edge. - Keep the API off untrusted networks (VPN / edge authentication).
Remediation (in the fix)
Do not derive authentication from the request's network source. Remove implicit loopback-based admin, and only accept a real client-IP header from an authenticated/trusted gateway (never from arbitrary clients).
Credit
Independently reported by Nikko Enggaliano; Wei Yunzhou; and Rui Yang & Haoyu Wang (Johns Hopkins University). Active in the-wild exploitation was reported by Javier Sixto (ulex.fr).
References
7 sourcesView 1 more references
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-102895View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 2
Assigning organization
Additional data publisher
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Added to CISA KEV
CISA recorded known exploitation.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- CVE · CVE-2026-102895
Observed 2026-11-10T05:05:40.806Z · upstream updated 2026-11-10T04:55:56.196Z
Prioritization updated
before
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-09T16:50:07.009163Z", "decisions": [ { "name": "Exploitation", "value": "active" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ]after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-05T00:00:00+00:00", "decisions": [ { "name": "Exploitation", "value": "active" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ] - CVE · CVE-2026-102895
Observed 2026-11-09T17:00:51.694Z · upstream updated 2026-11-09T16:54:01.426Z
References changed
before
[ "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr", "https://github.com/gpustack/gpustack/pull/5346", "https://github.com/gpustack/gpustack/commit/53f42a6a553542974396d16a4ff6b12bcbedb48d", "https://github.com/gpustack/gpustack/releases/tag/v2.2.0" ]
after
[ "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr", "https://github.com/gpustack/gpustack/pull/5346", "https://github.com/gpustack/gpustack/commit/53f42a6a553542974396d16a4ff6b12bcbedb48d", "https://github.com/gpustack/gpustack/releases/tag/v2.2.0", "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-102895" ]
Prioritization updated
before
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-05T00:00:00+00:00", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ]after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-09T16:50:07.009163Z", "decisions": [ { "name": "Exploitation", "value": "active" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ] - CVE · CVE-2026-102895
Observed 2026-11-06T07:14:40.717Z · upstream updated 2026-11-06T04:56:39.998Z
Prioritization updated
before
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-05T19:06:06.486167Z", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ]after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-05T00:00:00+00:00", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ] - CVE · CVE-2026-102895
Observed 2026-11-05T20:12:19.796Z · upstream updated 2026-11-05T19:30:13.799Z
Prioritization updated
before
[]
after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-05T19:06:06.486167Z", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "total" } ] } ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.