MaxKB sandbox bypass
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-53927
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:35 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-53927
Complete source record
{
"id": "d6a5c3ec7223c7bc3986575dafcab895b40ff514c882e1597dbe15f04290b576",
"url": "https://osv.dev/vulnerability/CVE-2025-53927",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "MaxKB sandbox bypass",
"summary": "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.",
"evidence": "osv:CVE-2025-53927",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-53927",
"aliases": [
"CVE-2025-53927",
"GHSA-5xhm-4j3v-87m4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/1panel-dev/maxkb",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c96de7a5f536909aef37fae92f97f62798eb1373"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "c96de7a5f536909aef37fae92f97f62798eb1373"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.0.0"
},
{
"cpe": "cpe:2.3:a:maxkb:maxkb:*:*:*:*:lts:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.10.4-lts",
"v1.10.3-lts",
"v1.10.2-lts",
"v1.10.1-lts",
"v1.10.0-lts",
"v1.9.0",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.1",
"v1.2.0",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.1",
"v1.0.0",
"v0.9.1",
"v0.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53927.json"
}
}
],
"modified": "2026-10-28T02:30:37.628671336Z",
"provider": "osv",
"references": [
"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.0.0",
"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-5xhm-4j3v-87m4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53927.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-53927"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53927.json"
}
},
"related_cves": [
{
"value": "CVE-2025-53927",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504727,
"published_at": "2025-07-17T13:50:18.268+00:00"
}