{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-77521",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-08-20T20:23:02.507Z",
        "datePublished": "2026-09-21T20:45:14.750Z",
        "dateUpdated": "2026-09-21T20:45:14.750Z"
    },
    "containers": {
        "cna": {
            "title": "MaxKB: Prompt-injectable agent can lead to command execution",
            "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"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f36j-f34j-h3rx"
                },
                {
                    "name": "https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/1Panel-dev/MaxKB/commit/594f50f2ea80a502d1c955371ba0438b277c30ea"
                },
                {
                    "name": "https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.5-lts"
                }
            ],
            "affected": [
                {
                    "vendor": "1Panel-dev",
                    "product": "MaxKB",
                    "versions": [
                        {
                            "version": "< 2.10.5-lts",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-09-21T20:45:14.750Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-f36j-f34j-h3rx",
                "discovery": "UNKNOWN"
            }
        }
    }
}