Home

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.

PUBLISHED Reserved 2025-07-14 | Published 2025-07-17 | Updated 2025-07-17 | Assigner GitHub_M




MEDIUM: 4.6CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

< 2.0.0
affected

References

github.com/.../MaxKB/security/advisories/GHSA-5xhm-4j3v-87m4

github.com/1Panel-dev/MaxKB/releases/tag/v2.0.0

cve.org (CVE-2025-53927)

nvd.nist.gov (CVE-2025-53927)

Download JSON