Skip to main content

Maxkb EUVDEUVD-2026-22180

| CVE-2026-39421 HIGH
Protection Mechanism Failure (CWE-693)
2026-04-14 GitHub_M
7.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to MaxKB workspace
  2. Delivery
    Access ToolExecutor component
  3. Exploit
    Invoke ctypes library
  4. Install
    Call pkey_mprotect syscall
  5. C2
    Bypass sandbox mprotect restriction
  6. Execute
    Restore executable memory
  7. Impact
    Execute arbitrary code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Impact

The CVSS score of 6.3 (Medium) reflects the authentication requirement (PR:L) and network attack vector (AV:N), which limits immediate widespread exploitation. However, the real-world risk is elevated by several factors: (1) the vulnerability grants complete arbitrary code execution (CWE-693 protection bypass) to any authenticated user with workspace privileges, which may be numerous in multi-tenant or open-source deployments; (2) the attack requires only low complexity (AC:L) and no user interaction (UI:N), making exploitation trivial once authenticated access is obtained; (3) the compromised scope (S:U) is limited to the affected service, but because MaxKB is often containerized, a successful exploit can lead to container escape and lateral movement to backend infrastructure; (4) CISA KEV status is not confirmed, and no public proof-of-concept exists, reducing immediate exploitation pressure; (5) the sandbox architecture itself is security-critical, so any bypass fundamentally undermines the entire defense posture. The authentication gate is the primary limiting factor; however, in environments where MaxKB is accessible to internal users, contractors, or customers, the threat surface is substantially larger. For organizations running MaxKB 2.7.1 or earlier in multi-user or customer-facing scenarios, this is a critical patching priority despite the medium CVSS score.

Exploit ScenarioDerived

An authenticated user with workspace privileges in a MaxKB deployment logs in, creates or executes a tool that leverages Python's ctypes library to call pkey_mprotect directly, bypassing the LD_PRELOAD sandbox restrictions. The attacker then executes arbitrary shell commands or Python code to establish a reverse shell or exfiltrate sensitive data from the container or underlying host. Attack complexity is low and requires only knowledge of ctypes and the pkey_mprotect syscall number, making it practical for attackers with basic systems programming skills.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 14, 2026

MaxKB versions 2.7.1 and below allow authenticated attackers with workspace privileges to execute arbitrary code by exploiting a sandbox escape vulnerability in the ToolExecutor component. By leveraging Python's ctypes library to invoke raw system calls and bypassing the LD_PRELOAD-based sandbox.so module through the unblocked pkey_mprotect syscall, attackers can achieve remote code execution, enabling network exfiltration and container compromise. This vulnerability is confirmed fixed in version 2.8.0, and no public exploit code has been identified at time of analysis.

RemediationAI

Vendor-released patch: MaxKB version 2.8.0 or later. Upgrade to version 2.8.0 or any newer version immediately by pulling the latest release from https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0. The fix is also available in the upstream repository via commit 479701a4d2e6059506bad0057a66bed91abb5aef (https://github.com/1Panel-dev/MaxKB/commit/479701a4d2e6059506bad0057a66bed91abb5aef), which comprehensively addresses the pkey_mprotect bypass. No workarounds are available prior to patching; the only effective mitigation is to restrict workspace access to highly trusted users and isolate MaxKB containers from sensitive network segments until patching is completed.

Affected VersionsENISA

MaxKB < 2.8.0

Affected Packages

euvd maxkb fix: 2.8.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MaxKB implements a sandbox for the ToolExecutor component using LD_PRELOAD to intercept critical system functions (execve, system, connect, open, and mprotect) within Python processes. The sandbox uses mprotect interception to prevent PROT_EXEC memory allocations, restricting code execution capabilities. However, the sandbox fails to intercept the pkey_mprotect syscall, a newer memory protection mechanism introduced in Linux kernel 4.6 that provides fine-grained memory access control via memory protection keys. By calling ctypes to directly invoke pkey_mprotect, attackers bypass the sandbox's mprotect restrictions and restore executable memory permissions. This occurs within the context of Python's ctypes library, which allows low-level foreign function interface calls to kernel syscalls without higher-level abstraction. The vulnerability is classified as CWE-693 (Protection Mechanism Failure), indicating the root cause is an incomplete or improperly configured security control that fails to comprehensively block all execution pathways.

Know when Maxkb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.4 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

5
Severity Changed
Oct 26, 2026 - 22:24 NVD
MEDIUM HIGH
CVSS changed
Oct 26, 2026 - 22:24 NVD
6.3 (MEDIUM) 7.4 (HIGH)
Patch released
Apr 20, 2026 - 17:35 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
2.8.0
CVE Published
Apr 14, 2026 - 00:17 nvd
MEDIUM 6.3

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Related Vulnerabilities in MaxKB Sandbox Escape Vulnerabilities

View all 4

More in Maxkb

View all
CVE-2025-48950 HIGH POC
8.8 Jun 03

MaxKB prior to version 1.10.8-lts contains an incomplete sandbox implementation that only blacklists binary execution in

CVE-2026-77521 CRITICAL
10.0 Sep 21

Command injection in MaxKB before 2.10.5-lts allows unauthenticated remote attackers to execute arbitrary shell commands

CVE-2025-66419 CRITICAL
10.0 Dec 11

Sandbox escape and privilege escalation in MaxKB 2.3.1 and earlier allow an attacker who can submit or trigger custom Py

CVE-2026-56779 MEDIUM POC
5.3 Jun 25

Server-side request forgery in MaxKB before 2.10.0 allows any authenticated user holding the default workspace USER role

CVE-2026-79916 CRITICAL
9.1 Sep 21

Authenticated workspace members on MaxKB deployments prior to 2.10.5-lts can escalate to root-level command execution by

CVE-2026-54149 HIGH
8.8 Jul 10

OS command injection in MaxKB (1Panel-dev's open-source enterprise AI assistant) before 2.10.0-lts lets an authenticated

CVE-2025-64511 HIGH
8.8 Nov 13

Server-side request forgery in MaxKB (open-source AI assistant from 1Panel-dev) allows an authenticated user with permis

CVE-2025-66446 HIGH
7.5 Dec 11

Privilege escalation in MaxKB 2.3.1 and earlier allows an authenticated, low-privileged user to overwrite the built-in d

CVE-2026-44847 HIGH
7.5 May 26

Authentication bypass in MaxKB (1Panel-dev) versions prior to 2.9.0 allows remote unauthenticated attackers to invoke we

CVE-2026-77523 HIGH
7.4 Sep 21

Cross-workspace read and modification of model parameter defaults in MaxKB 2.10.3-lts and earlier is possible for an aut

CVE-2026-129998 HIGH
7.3 Nov 20

MaxKB releases prior to 2.10.7-lts evaluate attacker-supplied JavaScript stored in a custom tool's Init Param definition

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy