{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77521 exists.","fix":"No fix has been published for CVE-2026-77521 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-77521 is a critical command injection vulnerability in 1Panel-dev MaxKB, published on 21 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-77521 and fix it if it is affected.\n\nWhat it is: CVE-2026-77521 is a critical command injection vulnerability in 1Panel-dev MaxKB, published on 21 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77521 exists.\n\nAffected product: 1Panel-dev MaxKB. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-77521/ (Markdown: https://insights.sbomify.com/CVE-2026-77521/index.md)","id":"CVE-2026-77521","markdown":"https://insights.sbomify.com/CVE-2026-77521/index.md","name":"CVE-2026-77521","record":{"aliases":["GHSA-f36j-f34j-h3rx"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"AI assistant platform","requires_auth":"none","summary":"Attackers can execute arbitrary commands via prompt injection in MaxKB AI assistants when sandboxing is disabled or misconfigured.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-749","name":"Exposed Dangerous Method or Function"},{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-15","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-15T11:14:53Z","kind":"github_poc","ref":"https://github.com/InertFluid/cve-2026-77521-lab","stars":0,"title":"Benign, self-contained reproduction of CVE-2026-77521 (MaxKB prompt-injectable command execution)"}],"tier":"weaponised"},"has_fix":false,"headline":"MaxKB: Prompt-injectable agent can lead to command execution","id":"CVE-2026-77521","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Server-side request forgery in MaxKB","id":"CVE-2026-77522"},"packages":[],"prev":{"headline":"Missing authorization in MaxKB","id":"CVE-2026-77520"},"products":["MaxKB"],"published":"2026-09-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-22","vendors":["1Panel-dev"]},"summary":"Attackers can execute arbitrary commands via prompt injection in MaxKB AI assistants when sandboxing is disabled or misconfigured.","url":"https://insights.sbomify.com/CVE-2026-77521/"}