CVE-2025-53927
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-17

Last updated on: 2025-08-02

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-17
Last Modified
2025-08-02
Generated
2026-05-06
AI Q&A
2025-07-17
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
maxkb maxkb to 2.0.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in MaxKB, an open-source AI assistant for enterprise, allows an attacker to bypass sandbox design rules. Prior to version 2.0.0, MaxKB only restricted execution permissions of files in a specific directory. An attacker can exploit this by using Python's shutil.copy2 method to copy a malicious command into the executable directory, thereby bypassing directory restrictions and potentially executing a reverse shell.


How can this vulnerability impact me? :

This vulnerability can allow an attacker to execute unauthorized commands by bypassing sandbox restrictions. This could lead to unauthorized access, data leakage, or control over the system through a reverse shell, potentially compromising the security and integrity of the affected system.


What immediate steps should I take to mitigate this vulnerability?

Upgrade MaxKB to version 2.0.0 or later, as this version fixes the sandbox bypass issue. Until then, restrict the use of the shutil.copy2 method or monitor and control file execution permissions carefully to prevent attackers from copying and executing malicious commands in the executable directory.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart