CVE-2026-39421 in Maxkb
MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain a sandbox escape vulnerability in the ToolExecutor component. By leveraging Python's ctypes library to execute raw system calls, an authenticated attacker with workspace privileges can bypass the LD_PRELOAD-based sandbox.so module ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Maxkb | Maxkb | < 2.8.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain a sandbox escape vulnerability in the ToolExecutor component. By leveraging Python's ctypes library to execute raw system calls, an authenticated attacker with workspace privileges can bypass the LD_PRELOAD-based sandbox.so module to achieve arbitrary code execution via direct kernel system calls, enabling full network exfiltration and container compromise. The library intercepts critical standard system functions such as execve, system, connect, and open. It also intercepts mprotect to prevent PROT_EXEC (executable memory) allocations within the sandboxed Python processes, but pkey_mprotect is not blocked. This issue has been fixed in version 2.8.0.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-39421 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151686-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| Published | 2026-04-14 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
CWE-693: CWE-693
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-51 Poison Web Service Registry via CWE-693
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-693
CAPEC-59 Session Credential Falsification through Prediction via CWE-693
CAPEC-65 Sniff Application Code via CWE-693
Show all 20
CAPEC-107 Cross Site Tracing via CWE-693
CAPEC-127 Directory Indexing via CWE-693
CAPEC-237 Escaping a Sandbox by Calling Code in Another Language via CWE-693
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-693
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-693
CAPEC-17 Using Malicious Files via CWE-693
CAPEC-20 Encryption Brute Forcing via CWE-693
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-693
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-87 Forceful Browsing via CWE-693
CAPEC-480 Escaping Virtualization via CWE-693
CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-693
CAPEC-22 Exploiting Trust in Client via CWE-693
CAPEC-74 Manipulating State via CWE-693
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
MaxKB versions 2.7.1 and below are vulnerable to a sandbox escape vulnerability in the ToolExecutor component, allowing authenticated attackers with workspace privileges to execute arbitrary code.
An authenticated attacker with workspace privileges can leverage Python's ctypes library to execute raw system calls, bypassing the LD_PRELOAD-based sandbox.so module and achieving arbitrary code execution via direct kernel system calls.
Questions
What is CVE-2026-39421?
MaxKB versions 2.7.1 and below are vulnerable to a sandbox escape vulnerability in the ToolExecutor component, allowing authenticated attackers with workspace privileges to execute arbitrary code.
What is the CVSS score for CVE-2026-39421?
CVE-2026-39421 has CVSS 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L. EPSS: 0.5%.
Is CVE-2026-39421 actively exploited?
No confirmed active exploitation of CVE-2026-39421 as of 2026-11-03.
How do I remediate CVE-2026-39421?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-39421?
CVE-2026-39421 affects Maxkb Maxkb.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Maxkb","product":"Maxkb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.