Vulnerability · Published Jul 17, 2025 · Assigned by GitHub_M
CVE-2025-53927MaxKB sandbox bypass
Medium 4.6
In plain English
A medium-severity code injection in MaxKB from 1Panel-dev. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 1Panel-dev | MaxKB | < 2.0.0 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
References
- https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-5xhm-4j3v-87m4 x_refsource_CONFIRM
- https://github.com/1Panel-dev/MaxKB/releases/tag/v2.0.0 x_refsource_MISC