CVE-2025-53927 MaxKB sandbox bypass
Attackers can bypass sandbox restrictions in MaxKB to execute arbitrary code and establish reverse shells by copying files to executable directories.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-53927?
CVE-2025-53927 is a medium-severity code injection vulnerability in 1Panel-dev MaxKB, published on 17 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
MaxKB is an open-source AI assistant for enterprise. Prior to version 2.0.0, the sandbox design rules can be bypassed because MaxKB only restricts the execution permissions of files in a specific directory. Therefore, an attacker can use the `shutil.copy2` method in Python to copy the command they want to execute to the executable directory. This bypasses directory restrictions and reverse shell. Version 2.0.0 fixes the issue.
Weakness: CWE-94
Which versions are affected by CVE-2025-53927?
It affects 1 product.
Products include Maxkb Maxkb.
How do I fix CVE-2025-53927?
No fix has been published for CVE-2025-53927 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-53927 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53927 exists.
Other vulnerabilities in 1Panel-dev MaxKB
- CVE-2025-66419 MaxKB vulnerable to privilege escalation through sandbox bypass
- CVE-2025-66446 MaxKB has a Python sandbox LD_PRELOAD bypass
- CVE-2025-64511 MaxKB has SSRF in sandbox
- CVE-2026-39422 MaxKB has Stored XSS via ChatHeadersMiddleware
- CVE-2026-39423 Stored XSS via Eval Injection in EchartsRander Component
Sources
Also known as GHSA-5xhm-4j3v-87m4.