Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/fixedbyreboot/cve-2026-102895-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthenticationRed TeamingAI Security
GitHub
fixedbyreboot/cve-2026-102895-poc

CVE-2026-102895-POC

POC for CVE-2026-102895 + CVE-2026-102894 - authentication bypass pair in GPUStack: default loopback-source trust promotes unauthenticated requests to admin, plus unverified SAML callback takeover. KEV-listed. Vulnerable vs fixed controls included.

View Repository
10 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    905
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    881
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    673
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    454
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    402
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    397

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-102895 - GPUStack trusted-loopback authentication bypass, plus CVE-2026-102894: unverified SAML callback login

Language CVSS 9.8 Critical CVSS 9.1 Critical Affected loopback < 2.2.0 Affected SAML < 2.2.2 Status verified 2026-11-14 Advisory GHSA-gj9m-f8ph-pmhr License MIT

GPUStack, an open-source GPU cluster manager for AI model serving, ships two independent pre-authentication paths to the built-in administrator account, and this repository verifies both against a live lab.

The first (CVE-2026-102895) is a trusted-source authentication bypass. The auth dependency get_current_user promotes any request whose source address equals 127.0.0.1 to the built-in admin user when force_auth_localhost is false, which is the default. On the default deployment that source check is decided by a client-controlled header, and in the documented same-host reverse-proxy shape it is decided by the proxy's own loopback connection, so an unauthenticated remote request becomes an admin request in both cases. The second (CVE-2026-102894) is an unverified SAML callback: the endpoint decodes the posted SAMLResponse, reads the NameID, resolves or provisions the named user and mints a session JWT without ever calling the SAML toolkit's process_response(), so no signature, issuer, audience, destination or time condition is checked, and SAML SSO does not even have to be configured. Naming an existing account in the forged XML yields that account's session; naming admin yields the whole deployment. Both bugs were verified end to end on 2026-11-14 against GPUStack 2.1.2 with 2.2.0 and 2.2.2 as fixed controls, and every capture in evidence/ was taken against the lab's own loopback addresses. CVE-2026-102895 is CISA KEV-listed (added 2026-11-09) with exploitation observed in the wild.

  • Affected: CVE-2026-102895, gpustack < 2.2.0 (both the default embedded-gateway deployment and reverse-proxy deployments). CVE-2026-102894, gpustack >= 0.7.1 and < 2.2.2, every deployment that can reach /auth/saml/callback, SAML configured or not.
  • Fixed: 2.2.0 removes the loopback auto-admin path and only honors X-GPUStack-Real-IP from an authenticated gateway (PR #5346); 2.2.2 runs OneLogin_Saml2_Auth.process_response() on the callback and gates the SAML route group behind the configured auth provider (PRs #5753, #5923).
  • CVSS 3.1: 9.8 Critical, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (GHSA-gj9m-f8ph-pmhr, CWE-287/CWE-290/CWE-346); 9.1 Critical, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (GHSA-62m9-f875-rqw6, CWE-294/CWE-347).
  • Advisories: GHSA-gj9m-f8ph-pmhr, GHSA-62m9-f875-rqw6, CVE-2026-102895, CVE-2026-102894
  • KEV: CVE-2026-102895 added 2026-11-09, federal remediation deadline 2026-11-12, forensic triage required. The vendor advisory records in-the-wild exploitation of a 2.1.1 deployment (attacker-created inference backends running reverse shells).

Usage

poc.py is stdlib-only Python 3 and takes one mode per primitive.

# CVE-2026-102895, trusted-loopback bypass (fixed in 2.2.0)
python3 poc.py --mode loopback --via proxy  --base-url http://127.0.0.1:30071 \
    --api-url http://127.0.0.2:30081 --source-ip 127.0.0.2
python3 poc.py --mode loopback --via header --base-url http://127.0.0.2:30070 \
    --source-ip 127.0.0.2
python3 poc.py --mode loopback --via direct --base-url http://127.0.0.1:30081

# CVE-2026-102894, forged SAML login (fixed in 2.2.2)
python3 poc.py --mode saml --base-url http://127.0.0.1:30081 --user admin

--base-url is the GPUStack entry point. For --mode loopback the --via value selects how the request source becomes loopback: direct means the caller's own connection is loopback (run on the server host, or against the loopback-bound API port of the default embedded-gateway deployment), proxy means the URL is a same-host reverse proxy whose upstream connection is loopback, and header forges X-GPUStack-Real-IP: 127.0.0.1, which the API trusts verbatim in the default embedded-gateway mode. --source-ip binds the PoC's own sockets so the honest negative control (same request from a source that is loopback but not 127.0.0.1) can be captured next to the trigger; --api-url adds the direct-to-API baseline for the proxy path. --mode saml posts a minimal unsigned SAMLResponse naming --user to /auth/saml/callback and replays the issued session cookie.

Lab (all services on one docker host, host networking, official images):

docker compose up -d                       # five gpustack instances + nginx
# or, reproducing the exact capture topology with the same images:
python3 setup/lab-driver.py boot           # stop|status to tear down / probe

The compose lab mirrors evidence/00-lab-topology.txt: a default-flags 2.1.2 instance (embedded gateway on 30070, API loopback-bound on 30080), a gateway-disabled 2.1.2 instance behind nginx on 30071 (API on 30081), a 2.1.2 instance with --force-auth-localhost on 30082, and fixed 2.2.0 / 2.2.2 instances on 30091 / 30101 with nginx on 30092. Only point this at deployments you own.

Expected output

RAW captures for all four required cases are in evidence/; each transcript is the unmodified poc.py output with its exit code.

CVE-2026-102895, vulnerable 2.1.2 behind the same-host reverse proxy (evidence/01-102895-loopback-proxy-vulnerable.txt). Baseline first: the same API reached directly from a non-loopback source stays closed.

[>] baseline: same API reached directly (source not loopback)
    GET http://127.0.0.2:30081/v2/users
    < HTTP 401
    < {"code":401,"reason":"Unauthorized","message":"Invalid authentication credentials"}

[>] trigger: unauthenticated request through the reverse proxy
    GET http://127.0.0.2:30071/v2/users
    < HTTP 200
    < {"items":[{"username":"admin","is_admin":true, ...}],"pagination":{...,"total":1,...}}

[!] PERSISTENCE: admin API key minted without credentials and accepted from this source: gpustack_...
[!] VULNERABLE: unauthenticated administrative access via the trusted-loopback rule (CVE-2026-102895).
[poc.py exit code: 0]

CVE-2026-102895, control on fixed 2.2.0, identical requests through the proxy, with the forged header, and directly from loopback (evidence/04-102895-control-fixed-2.2.0.txt): all three stay 401.

[>] trigger: unauthenticated request through the reverse proxy
    GET http://127.0.0.2:30092/v2/users
    < HTTP 401
[=] NOT VULNERABLE: the admin list stayed closed ...
[poc.py exit code: 1]

CVE-2026-102894, vulnerable 2.1.2 with SAML never configured (evidence/05-102894-saml-takeover-vulnerable.txt): the public auth-config endpoint shows no provider, the forged response returns 303 with a session cookie for admin, and the admin user list answers 200.

Download Tool