Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-39420
maxkb

Score7.4 High
CVSS 3.1
Exploit probability (EPSS)0.65%
within the next 30 days
CategoryCode execution & injection
Published14 April 2026
Last modified: 26 October 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

Impact is limited: reading confidential data, modifying data, crashing the system or making it unavailable.

The impact can spread beyond the vulnerable component.

Weakness type: OS command injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

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.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Weakness: CWE-78 – OS command injection, CWE-693

Affected products

VendorProductVersions
maxkbmaxkb<2.8.0

Sources

Latest in the same category

  • CVE-2026-140041 High 8.5
    A flaw has been found in WAVLINK WL-WN530BE1-A M30BE1_V251117. The impacted element is the function FUN_0001f94c of the file /protocol.csp of the component ioos. Executing a manipulation of the argument mac can lead to…
    Code execution & injection · 1 December 2026
  • CVE-2026-140040 High 8.6
    A vulnerability was detected in WAVLINK WL-WN530BE1-A M30BE1_V251117. The affected element is the function port_forward of the file /protocol.csp of the component ioos. Performing a manipulation of the argument Name…
    Code execution & injection · 1 December 2026
  • CVE-2026-139983 Medium 5.5
    A vulnerability was identified in walinejs Waline up to 1.43.4. This issue affects some unknown processing. Such manipulation of the argument mail leads to sql injection. The attack can be executed remotely. The…
    Code execution & injection · 1 December 2026
  • CVE-2026-139982 Medium 5.5
    A vulnerability was found in PerfreeBlog up to 4.0.11. This issue affects the function buildPage of the file MyBatisUtils.java. Performing a manipulation of the argument Field results in sql injection. Remote…
    Code execution & injection · 1 December 2026
  • CVE-2026-139980 Low 2.1
    A vulnerability was detected in PerfreeBlog up to 4.0.11. Affected by this issue is the function buildPage of the file MyBatisUtils.java. The manipulation of the argument Field results in sql injection. The attack can…
    Code execution & injection · 1 December 2026
  • CVE-2026-105843 High 7.7
    A flaw was found in OpenShift Router. The regular expression used to validate the haproxy.router.openshift.io/hsts_header route annotation matches the whitespace character class, which includes newline characters, and…
    Code execution & injection · 1 December 2026