{"id":"CVE-2026-77521","state":"PUBLISHED","title":"MaxKB: Prompt-injectable agent can lead to command execution","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.","publishedAt":"2026-09-21T20:45:14.750Z","updatedAt":"2026-09-22T13:32:19.198Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["1Panel-dev MaxKB"],"affected":[{"vendor":"1Panel-dev","product":"MaxKB","versions":[{"version":"< 2.10.5-lts","status":"affected"}]}],"references":["https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx","https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea","https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts"],"weaknesses":["CWE-78","CWE-250","CWE-749"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77521.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77521","state":"PUBLISHED","datePublished":"2026-09-21T20:45:14.750Z","dateUpdated":"2026-09-22T13:32:19.198Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-20T20:23:02.507Z"},"containers":{"cna":{"title":"MaxKB: Prompt-injectable agent can lead to command execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"1Panel-dev","product":"MaxKB","versions":[{"version":"< 2.10.5-lts","status":"affected"}]}],"references":[{"url":"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx","name":"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea","name":"https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea","tags":["x_refsource_MISC"]},{"url":"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts","name":"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-250","lang":"en","description":"CWE-250: Execution with Unnecessary Privileges","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-749","lang":"en","description":"CWE-749: Exposed Dangerous Method or Function","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-21T20:45:14.750Z"},"source":{"advisory":"GHSA-f36j-f34j-h3rx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T13:31:58.194506Z","id":"CVE-2026-77521","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-22T13:32:19.198Z"}}]}}}