{"id":"CVE-2026-77521","published":"2026-09-21T20:45:14Z","modified":"2026-09-22T13:32:19Z","title":"MaxKB: Prompt-injectable agent can lead to command execution","vendor":"1Panel-dev","product":"MaxKB","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01049,"percentile":0.65057,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-250","name":"Execution with Unnecessary Privileges"},{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"references":[{"url":"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","tags":["x_refsource_MISC"]},{"url":"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts","tags":["x_refsource_MISC"]}],"priority":{"score":25.0,"factors":[{"name":"EPSS percentile","points":13.01},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-15","earliestUrl":"https://github.com/InertFluid/cve-2026-77521-lab","repos":[{"name":"InertFluid/cve-2026-77521-lab","url":"https://github.com/InertFluid/cve-2026-77521-lab","stars":0,"created":"2026-10-15"}]},"first":{"date":"2026-10-15","source":"PoC-in-GitHub","url":"https://github.com/InertFluid/cve-2026-77521-lab"},"provenance":"source"},"vendorSlug":"1panel-dev","affectedVersions":[{"vendor":"1Panel-dev","product":"MaxKB","versions":["< 2.10.5-lts"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-22T13:31:58.194506Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-84161","exploited":false,"provenance":"source"}}