Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
2741 articles · 110470 vulns · 36/41 feeds (7d)
← Back to list
6.3
CVE-2026-39420EXPLOITEDPATCHED
1panel-dev · maxkb

MaxKB: Sandbox escape via LD_PRELOAD bypass

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.

Affected Products

VendorProductVersions
1panel-devmaxkb< 2.8.0

References

  • https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-7wgv-v2r3-7f7w(x_refsource_CONFIRM)
  • https://github.com/1Panel-dev/MaxKB/commit/2d17b08e6b060329803754a05e806d0ddecf3fa8(x_refsource_MISC)
  • https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0(x_refsource_MISC)

Related News (1 articles)

Tier C
VulDB7h ago
CVE-2026-39420 | 1Panel-dev MaxKB up to 2.7.x Tool Debug API sandbox.so LD_PRELOAD protection mechanism (GHSA-7wgv-v2r3-7f7w)
→ No new info (linked only)
CVSS 3.16.3 CRITICAL
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA KEV❌ No
Actively exploited✅ Yes
Patch available
2.8.0
CWECWE-693, CWE-78
PublishedApr 14, 2026
Last enriched7h agov2
Trending Score48
Source articles1
Independent1
Info Completeness9/14
Missing: epss, kev, exploit, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALCVE-2026-39421EXP
MaxKB: Sandbox escape via ctypes and unhooked SYS_pkey_mprotect
Trending: 48
HIGHCVE-2026-39425EXP
MaxKB: Stored XSS via Unsanitized html_rander Tags in Markdown Rendering
Trending: 45
HIGHCVE-2026-39426EXP
MaxKB: Stored XSS via Unsanitized iframe_render Parsing
Trending: 45
HIGHCVE-2026-39419EXP
MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing
Trending: 45
HIGHCVE-2026-39422EXP
MaxKB has Stored XSS via ChatHeadersMiddleware
Trending: 45

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Apr 14, 2026
Discovered by ZDM
Apr 14, 2026
Actively Exploited
Apr 14, 2026
Patch Available
Apr 14, 2026
Updated: severity, activelyExploited, patchAvailable
Apr 14, 2026

Version History

v2
Last enriched 7h ago
v2Tier C7h ago

Updated severity to CRITICAL, marked as actively exploited, and specified patch available in version 2.8.0.

severityactivelyExploitedpatchAvailable
via VulDB
v111h ago

Initial creation