CVE-2025-53927
MEDIUMmaxkb < 2.0.0 - Remote Code Execution via shutil.copy2 Directory Restriction Bypass
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-5xhm-4j3v-87m4
Release Notes x_refsource_misc
https://github.com/1Panel-dev/MaxKB/releases/tag/v2.0.0
Scores
CVSS v3
4.6
EPSS
0.0023
EPSS Percentile
13.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (1)
maxkb/maxkb
< 2.0.0
Published
Jul 17, 2025
Tracked Since
Feb 18, 2026