{
  "id": "gpustack-cve-2026-102895-reverse-shell-2026-11",
  "name": "GPUStack CVE-2026-102895 loopback admin bypass used to plant reverse-shell inference backends",
  "date_reported": "2026-11-09",
  "researcher": "Nikko Enggaliano; Wei Yunzhou; Rui Yang and Haoyu Wang (Johns Hopkins University); in-the-wild case reported by Javier Sixto (ulex.fr); advisory by gitlawr",
  "org": "GPUStack",
  "sources": [
    {
      "url": "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr",
      "title": "GHSA-gj9m-f8ph-pmhr: GPUStack authentication bypass via trusted loopback source",
      "publisher": "GPUStack"
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "title": "CISA Known Exploited Vulnerabilities Catalog (CVE-2026-102895 added 2026-11-09)",
      "publisher": "CISA"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-102895",
      "title": "NVD: CVE-2026-102895",
      "publisher": "NIST"
    },
    {
      "url": "https://thehackernews.com/2026/11/cisa-warns-of-active-exploitation-of.html",
      "title": "The Hacker News: CISA warns of active exploitation of GPUStack",
      "publisher": "The Hacker News"
    }
  ],
  "magicsword_coverage": [],
  "borderline": false,
  "borderline_note": null,
  "ai_role": "ai_agent_or_mcp_as_target",
  "ai_role_secondary": null,
  "ai_role_detail": "Attackers turn GPUStack's own inference-backend feature into code execution on worker hosts after an unauthenticated admin bypass",
  "technique_summary": "GPUStack before v2.2.0 treats a request as the built-in administrator when get_current_user in gpustack/api/auth.py decides the source is loopback and force_auth_localhost is false, which is the default. A remote attacker can look like loopback in two ways. Behind a same-host reverse proxy that uses proxy_pass to 127.0.0.1, every request arrives with TCP peer 127.0.0.1. A forged X-GPUStack-Real-IP: 127.0.0.1 header can also make client_ip_getter report loopback. Either path yields full admin with no credentials. The attacker can enumerate and change users, models, workers, and configuration, mint persistent admin API keys with scope [\"*\" ] that stay valid from any IP afterward, and read worker credentials and cloud or provider secrets. POST /v2/inference-backends/from-yaml runs code on worker hosts. The vendor advisory, published by gitlawr, says this was exploited in the wild against a v2.1.1 deployment, where attackers created custom inference backends that ran reverse shells. Keys minted before the patch keep working after the upgrade. Affected package is gpustack on pip below 2.2.0. Fixed in 2.2.0. Workaround is force_auth_localhost=true. CISA added CVE-2026-102895 / GHSA-gj9m-f8ph-pmhr to the Known Exploited Vulnerabilities catalog on Nov 9, 2026, with a due date of Nov 12 and a note to apply forensic triage. The vulnerability was reported independently by Nikko Enggaliano, Wei Yunzhou, and Rui Yang and Haoyu Wang of Johns Hopkins University. Javier Sixto of ulex.fr reported the in-the-wild case. No attacker IPs or hashes were published. Project: https://github.com/gpustack/gpustack.",
  "initial_access": "Unauthenticated admin via loopback trust: same-host reverse proxy or forged X-GPUStack-Real-IP header",
  "ai_tooling_and_models": [
    "GPUStack inference platform (https://github.com/gpustack/gpustack), versions before 2.2.0, exploited on 2.1.1"
  ],
  "other_tooling": [
    "Custom inference backends created through POST /v2/inference-backends/from-yaml",
    "Admin API keys with scope [\"*\"]"
  ],
  "victims_and_sectors": "Organizations serving models with GPUStack; one confirmed v2.1.1 deployment",
  "regions": [
    "unknown"
  ],
  "attribution_or_cluster": "Unnamed. CISA confirmed exploitation by adding the CVE to KEV. The GPUStack advisory documents the in-the-wild reverse-shell case. No country or motivation is stated.",
  "scale_and_metrics": "CISA KEV dateAdded 2026-11-09, due 2026-11-12. One described in-the-wild deployment on v2.1.1. No victim count published.",
  "prevention_angle": "Upgrade gpustack to 2.2.0 or later. Set force_auth_localhost=true until upgraded. Strip client-supplied X-GPUStack-Real-IP at the edge. Do not front GPUStack with a same-host reverse proxy that makes every request look like 127.0.0.1. Revoke admin API keys minted before the patch, including keys with scope [\"*\"]. Hunt worker hosts for reverse shells started by custom inference backends.",
  "related_magicsword_projects": [],
  "source_notes": "Behavior, header, endpoint, version, and the in-the-wild reverse-shell statement are from GHSA-gj9m-f8ph-pmhr. CISA KEV and NVD pages returned HTTP 403 to this reviewer's fetch but are the canonical catalog and CVE records cited by the advisory coverage. No IPs or hashes were published, so none are listed.",
  "last_reviewed": "2026-11-12",
  "iocs": {
    "domains": [],
    "ips": [],
    "hashes": [],
    "urls": []
  },
  "atlas_techniques": [
    {
      "id": "AML.T0049",
      "rationale": "The loopback-trust bug is a public-facing authentication bypass in the GPUStack API",
      "source_urls": [
        "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
      ]
    },
    {
      "id": "AML.T0012",
      "rationale": "Attackers mint persistent admin API keys with scope star that survive the patch",
      "source_urls": [
        "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
      ]
    },
    {
      "id": "AML.T0050",
      "rationale": "POST /v2/inference-backends/from-yaml runs attacker commands on worker hosts",
      "source_urls": [
        "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
      ]
    },
    {
      "id": "AML.T0072",
      "rationale": "The in-the-wild case used custom inference backends that ran reverse shells",
      "source_urls": [
        "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
      ]
    },
    {
      "id": "AML.T0055",
      "rationale": "Admin access exposes worker credentials and cloud or provider secrets",
      "source_urls": [
        "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
      ]
    }
  ],
  "attack_flow": {
    "nodes": [
      {
        "id": "bypass",
        "title": "Appear as loopback",
        "description": "A remote request arrives through a same-host reverse proxy or sends X-GPUStack-Real-IP: 127.0.0.1, and GPUStack logs it in as the built-in admin.",
        "kind": "access",
        "source_urls": [
          "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
        ]
      },
      {
        "id": "mint-key",
        "title": "Mint an admin API key",
        "description": "The attacker creates an API key with scope star that remains valid from any source IP after the patch.",
        "kind": "execution",
        "source_urls": [
          "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
        ]
      },
      {
        "id": "backend",
        "title": "Register a malicious inference backend",
        "description": "POST /v2/inference-backends/from-yaml installs a custom backend on worker hosts.",
        "kind": "ai",
        "source_urls": [
          "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
        ]
      },
      {
        "id": "shell",
        "title": "Reverse shell on the worker",
        "description": "In the observed v2.1.1 case, the custom backend ran a reverse shell.",
        "kind": "impact",
        "source_urls": [
          "https://github.com/gpustack/gpustack/security/advisories/GHSA-gj9m-f8ph-pmhr"
        ]
      }
    ],
    "edges": [
      {
        "source": "bypass",
        "target": "mint-key"
      },
      {
        "source": "mint-key",
        "target": "backend"
      },
      {
        "source": "backend",
        "target": "shell"
      }
    ]
  },
  "category": "attacks-on-ai",
  "attribution": {
    "actor_name": "Unnamed",
    "country": "Unknown",
    "motivation": "unknown",
    "attributed_by": "CISA (KEV) and the GPUStack maintainers",
    "confidence": "high"
  },
  "ai_involvement_confidence": "confirmed",
  "detections": [
    {
      "name": "Potential Netcat Reverse Shell Execution",
      "format": "sigma",
      "url": "https://github.com/SigmaHQ/sigma/blob/master/rules/linux/process_creation/proc_creation_lnx_netcat_reverse_shell.yml",
      "notes": "Linux workers. Matches netcat reverse shells spawned from a custom inference backend. GPUStack workers are Linux hosts in the documented deployment."
    },
    {
      "name": "Suspicious Reverse Shell Command Line",
      "format": "sigma",
      "url": "https://github.com/SigmaHQ/sigma/blob/master/rules/linux/builtin/lnx_shell_susp_rev_shells.yml",
      "notes": "Linux shell history and audit. Matches bash, python, and perl reverse-shell one-liners on worker hosts."
    },
    {
      "name": "Potential Reverse Shell",
      "format": "elastic",
      "url": "https://github.com/elastic/detection-rules/blob/main/rules/linux/execution_shell_via_tcp_cli_utility_linux.toml",
      "notes": "Linux endpoint. A network utility child followed by a shell, which is the worker-side reverse shell described in the advisory."
    },
    {
      "name": "GPUStack admin-key and header hunting",
      "format": "guidance",
      "notes": "No rule names the X-GPUStack-Real-IP header or POST /v2/inference-backends/from-yaml. Alert on that header from non-loopback clients, on new API keys with scope star, and on inference-backend creates. Revoke keys created before the upgrade to 2.2.0."
    }
  ],
  "timeline": {
    "first_seen": "2026-11-09",
    "last_updated": "2026-11-09",
    "updates": [
      {
        "date": "2026-11-09",
        "source": "GPUStack / CISA",
        "summary": "GHSA-gj9m-f8ph-pmhr describes in-the-wild reverse shells on GPUStack 2.1.1 via the loopback admin bypass. CISA adds CVE-2026-102895 to KEV the same day, due Nov 12."
      }
    ]
  }
}