{
  "id": "CVE-2026-77521",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-77521",
  "published_at": "2026-09-21T20:45:14.75Z",
  "title": "MaxKB: Prompt-injectable agent can lead to command execution",
  "vendor": "1Panel-dev",
  "product": "MaxKB",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-15T11:14:53Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 23.6,
    "repo": "InertFluid/cve-2026-77521-lab",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "MaxKB is an open-source AI assistant for enterprise. Prior to version 2.10.5-lts, assistants with a tool, MCP tool, skill, or sub-application use SandboxShellBackend, which exposes an execute shell tool without excluding it and omits execute from interrupt_on, so human approval is not required. Untrusted chat or ingested content can therefore cause command execution; source deployments with MAXKB_SANDBOX disabled run commands directly as the application user, while the official root container's string-based gosu wrapper allowed shell metacharacters to execute outside the intended sandbox. This issue is fixed in version 2.10.5-lts.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "InertFluid/cve-2026-77521-lab",
      "url": "https://github.com/InertFluid/cve-2026-77521-lab",
      "created_at": "2026-10-15T11:14:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-08-18T18:24:04Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "1Panel-dev",
        "product": "MaxKB",
        "ranges": [
          "\u003c 2.10.5-lts"
        ],
        "fixed_in": [
          "2.10.5-lts"
        ]
      }
    ],
    "upgrade": [
      "Upgrade MaxKB to 2.10.5-lts or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/models",
      "content_type": "application/json",
      "ports": [
        11434
      ],
      "user_agents": [
        "curl/8.7.1"
      ],
      "protocol": "http",
      "repos": [
        "InertFluid/cve-2026-77521-lab"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "InertFluid/cve-2026-77521-lab/poc/03_real_llm.py:114"
      ]
    }
  ],
  "rules": []
}
