{"id":"CVE-2026-77521","summary":"MaxKB: Prompt-injectable agent can lead to command execution","details":"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.","aliases":["GHSA-f36j-f34j-h3rx"],"modified":"2026-09-24T03:30:19.584078584Z","published":"2026-09-21T20:45:14.750Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77521.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-250","CWE-749","CWE-78"]},"references":[{"type":"WEB","url":"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts"},{"type":"ADVISORY","url":"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77521.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77521"},{"type":"FIX","url":"https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/1panel-dev/maxkb","events":[{"introduced":"0"},{"fixed":"594f50f2ea80a502d1c955371ba0438b277c30ea"},{"fixed":"01b21db88145278d98bf5e9bd55e6abd6b3aad43"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.10.5-lts"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.10.3-lts","v2.10.1-lts","v2.10.0-lts","v2.9.2","v2.9.1","v2.9.0","v2.8.1","v2.8.0","v2.7.0","v2.6.1","v2.6.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.10.4-lts","v1.10.3-lts","v1.10.2-lts","v1.10.1-lts","v1.10.0-lts","v1.9.0","v1.7.0","v1.6.1","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.1","v1.0.0","v0.9.1","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77521.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}