BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-39420 in Maxkb

High 7.4

MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, an incomplete sandbox protection mechanism allows an authenticated user with tool execution privileges to escape the LD_PRELOAD-based sandbox. By env command the attacker can clear the environment variables and drop the sandbox.so hook...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.4
EPSS0.6%
EPSS percentile46th
FixUnknown

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

VendorProductAffected 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-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, an incomplete sandbox protection mechanism allows an authenticated user with tool execution privileges to escape the LD_PRELOAD-based sandbox. By env command the attacker can clear the environment variables and drop the sandbox.so hook, leading to unrestricted Remote Code Execution (RCE) and network access. MaxKB restricts untrusted Python code execution via the Tool Debug API by injecting sandbox.so through the LD_PRELOAD environment variable. This intercepts sensitive C library functions (like execve, socket, open) to restrict network and file access. However, a patch allowed the /usr/bin/env utility to be executed by the sandboxed user. When an attacker is permitted to create subprocesses, they can execute the env -i python command. The -i flag instructs env to completely clear all environment variables before running the target program. This effectively drops the LD_PRELOAD environment variable. The newly spawned Python process will therefore execute natively without any sandbox hooks, bypassing all network and file system restrictions. This issue has been fixed in version 2.8.0.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-39420
BreachSpider IDBS-2026-GLOBAL-151685-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Published2026-04-14
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

CWE-693: CWE-693

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

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 22

CAPEC-107 Cross Site Tracing via CWE-693

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

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-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

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-87 Forceful Browsing via CWE-693

CAPEC-88 OS Command Injection via CWE-78

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

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-39420 affects MaxKB versions 2.7.1 and below, where an incomplete sandbox protection mechanism allows authenticated users with tool execution privileges to escape the LD_PRELOAD-based sandbox, leading to Remote Code Execution (RCE) and network access.

An attacker with authenticated access and tool execution privileges can exploit an incomplete sandbox protection mechanism by using the env command to clear environment variables and drop the sandbox.so hook, resulting in unrestricted RCE and network access.

Questions

What is CVE-2026-39420?

CVE-2026-39420 affects MaxKB versions 2.7.1 and below, where an incomplete sandbox protection mechanism allows authenticated users with tool execution privileges to escape the LD_PRELOAD-based sandbox, leading to Remote Code Execution (RCE) and network access.

What is the CVSS score for CVE-2026-39420?

CVE-2026-39420 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.6%.

Is CVE-2026-39420 actively exploited?

No confirmed active exploitation of CVE-2026-39420 as of 2026-11-03.

How do I remediate CVE-2026-39420?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2026-39420?

CVE-2026-39420 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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.