CVE-2026-39419

MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing

Published Apr 14, 2026 CVSS 3.1 · 3.1 Low EPSS < 1% KEV · Not listed
Description
MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, an authenticated user can bypass sandbox result validation and spoof tool execution results by exploiting Python frame introspection to read the wrapper's UUID from its bytecode constants, then writing a forged result directly to file descriptor 1 (bypassing stdout redirection). By calling sys.exit(0), the attacker terminates the wrapper before it prints the legitimate output, causing the MaxKB service to parse and trust the spoofed response as the genuine tool result. This issue has been fixed in version 2.8.0.

Analysis

AI-generated

Technical impact

MaxKB, an open‑source enterprise AI assistant, allows an authenticated user to bypass the sandbox’s result validation. The attacker exploits Python frame introspection to read the wrapper’s UUID from bytecode constants and then writes a forged result directly to file descriptor 1, bypassing stdout redirection. By invoking sys.exit(0) the wrapper is terminated before producing legitimate output, and the service parses and trusts the spoofed response as a real tool result, effectively granting the user the ability to inject arbitrary output into the assistant’s responses.

Affected Systems

This flaw affects the MaxKB application developed by 1Panel‑dev. Versions 2.7.1 and earlier are vulnerable; the issue was resolved in the 2.8.0 release.

Risk and Exploitability

The CVSS v3.1 score of 3.1 indicates a low severity vulnerability, and the EPSS score is not available. MaxKB is not listed in CISA’s KEV catalog, suggesting no known exploits in the wild. Exploitation requires authenticated access and knowledge of the internal Python wrapper, making the attack surface relatively narrow and likely limited to privileged users. Nevertheless, because forged results are treated as legitimate, an attacker can expose sensitive data or influence downstream processes.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MaxKB to version 2.8.0 or later to apply the vendor fix.
  • If an immediate upgrade is not feasible, remove or downgrade privileged user access to prevent exploitation of the sandbox bypass.
  • Consider monitoring process output and file descriptor writes for anomalies, and verify that tool results are validated against expected formats before use.

Generated by OpenCVE AI on April 14, 2026 at 03:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Maxkb
Maxkb maxkb
CPEs cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*
Vendors & Products Maxkb
Maxkb maxkb
Type Values Removed Values Added
First Time appeared 1panel
1panel maxkb
Vendors & Products 1panel
1panel maxkb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, an authenticated user can bypass sandbox result validation and spoof tool execution results by exploiting Python frame introspection to read the wrapper's UUID from its bytecode constants, then writing a forged result directly to file descriptor 1 (bypassing stdout redirection). By calling sys.exit(0), the attacker terminates the wrapper before it prints the legitimate output, causing the MaxKB service to parse and trust the spoofed response as the genuine tool result. This issue has been fixed in version 2.8.0.
Title MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing
Weaknesses CWE-290
CWE-693
CWE-74
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-693

    Protection Mechanism Failure

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 14, 2026, 1:28 PM
Reserved
Apr 7, 2026, 12:23 AM
Status
Analyzed
Published
Apr 14, 2026, 2:16 AM
Modified
Oct 26, 2026, 10:10 PM