CVE-2026-77521: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in 1Panel-dev MaxKB
CVE-2026-77521 is a critical OS command injection vulnerability in MaxKB, an open-source AI assistant for enterprise. Versions prior to 2.10.5-lts allow untrusted input to execute shell commands without human approval due to improper sandboxing and command execution controls. This can lead to full system compromise. The issue is fixed in version 2.10.5-lts.
AI Analysis
Technical Summary
MaxKB versions before 2.10.5-lts use SandboxShellBackend for executing shell commands but fail to exclude the execute shell tool and omit it from interrupt_on, allowing untrusted chat or ingested content to trigger command execution without human approval. Deployments with MAXKB_SANDBOX disabled run commands directly as the application user, and the official root container's gosu wrapper permits shell metacharacters to escape the sandbox. This improper neutralization of special elements leads to OS command injection (CWE-78). The vulnerability is resolved in version 2.10.5-lts.
Potential Impact
An attacker can execute arbitrary OS commands remotely without any user interaction or privileges, leading to complete compromise of confidentiality, integrity, and availability of the affected system. The CVSS score of 10.0 reflects the critical severity and the potential for full system takeover.
Mitigation Recommendations
Upgrade to MaxKB version 2.10.5-lts or later, where this vulnerability is fixed. Until then, avoid disabling the MAXKB_SANDBOX environment variable and do not use vulnerable versions in production environments.
CVE-2026-77521: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in 1Panel-dev MaxKB
Description
CVE-2026-77521 is a critical OS command injection vulnerability in MaxKB, an open-source AI assistant for enterprise. Versions prior to 2.10.5-lts allow untrusted input to execute shell commands without human approval due to improper sandboxing and command execution controls. This can lead to full system compromise. The issue is fixed in version 2.10.5-lts.
CVSS v3.1
Score 10.0critical
Affected software
1Panel-dev
MaxKB
pkg:github/1panel-dev/MaxKBRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MaxKB versions before 2.10.5-lts use SandboxShellBackend for executing shell commands but fail to exclude the execute shell tool and omit it from interrupt_on, allowing untrusted chat or ingested content to trigger command execution without human approval. Deployments with MAXKB_SANDBOX disabled run commands directly as the application user, and the official root container's gosu wrapper permits shell metacharacters to escape the sandbox. This improper neutralization of special elements leads to OS command injection (CWE-78). The vulnerability is resolved in version 2.10.5-lts.
Potential Impact
An attacker can execute arbitrary OS commands remotely without any user interaction or privileges, leading to complete compromise of confidentiality, integrity, and availability of the affected system. The CVSS score of 10.0 reflects the critical severity and the potential for full system takeover.
Mitigation Recommendations
Upgrade to MaxKB version 2.10.5-lts or later, where this vulnerability is fixed. Until then, avoid disabling the MAXKB_SANDBOX environment variable and do not use vulnerable versions in production environments.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-20T20:23:02.507Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab1abbb55bf5e2cf58b467d
Added to database: 09/21/2026, 22:12:11 UTC
Last enriched: 09/21/2026, 22:13:48 UTC
Last updated: 09/22/2026, 00:44:14 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.