{"id":"CVE-2026-77521","published":"2026-09-21T21:17:10.943","lastModified":"2026-09-21T21:17:11.083","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.","cvssScore":10,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","cwes":["CWE-78","CWE-250","CWE-749"],"vendors":[],"products":[],"references":[{"url":"https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea","tags":[]},{"url":"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts","tags":[]},{"url":"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx","tags":[]}],"exploitRefs":[{"url":"https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea","tags":[]},{"url":"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts","tags":[]},{"url":"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows untrusted input to execute shell commands, leading to remote code execution. This is critical as it can be exploited by malicious chat content.","exploitability":"Exploitation requires untrusted chat or ingested content with command injection capabilities; preconditions include the use of versions prior to 2.10.5-lts.","blast_radius":"If exploited, this could lead to complete compromise of affected systems and data loss.","remediation":"Update to version 2.10.5-lts or later to apply the necessary security patches.","tags":["rce","shell-injection","security-update"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-22T06:01:15.402Z"}}