Skip to main content

Maxkb EUVDEUVD-2026-22191

| CVE-2026-39419 LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-04-14 GitHub_M
3.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to MaxKB service
  2. Delivery
    Craft tool definition or LLM prompt with Python introspection code
  3. Exploit
    Execute wrapper process
  4. Install
    Extract wrapper UUID from bytecode constants
  5. C2
    Write forged result to file descriptor 1
  6. Execute
    Terminate wrapper with sys.exit(0)
  7. Impact
    MaxKB parses spoofed result as legitimate
  8. Step 8
    Attacker achieves result manipulation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

CVSS 3.1 with PR:L (authenticated required), AC:H (high complexity), and I:L (low integrity impact) indicates limited severity under standard metrics. However, the real-world risk is elevated in specific contexts: (1) exploitation is confirmed patched (fix released v2.8.0), suggesting the vendor validated the threat; (2) exploitation requires Python code execution within the sandbox, which implies the attacker must either control a tool definition or inject malicious code into an LLM prompt-both requiring authenticated access and social engineering or prior compromise; (3) the low integrity impact reflects that only tool results are spoofed, not system-wide compromise; (4) AC:H reflects the technical difficulty of extracting UUIDs from bytecode and coordinating the attack timing. This is NOT a critical vulnerability but rather a medium-risk authentication/validation bypass suitable for defense-in-depth upgrades. Organizations running MaxKB with strict input validation on LLM-generated tool calls face lower practical risk than those without such controls.

Exploit ScenarioDerived

An authenticated MaxKB user crafts a prompt that instructs the LLM to generate a tool call (e.g., a web search or database query). The user embeds Python code within the tool definition or manipulates the LLM to inject Python bytecode introspection commands. When the wrapper executes the user-controlled code, it extracts the wrapper's UUID from the bytecode constants using sys._getframe().f_code.co_consts, writes a forged result (e.g., 'Tool succeeded: sensitive data exfiltrated') directly to file descriptor 1, and exits with sys.exit(0). MaxKB's validation layer receives only the spoofed output, trusts it as legitimate, and returns the false result to the LLM or user interface, potentially misleading downstream decision-making.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% 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 users to spoof tool execution results by exploiting Python frame introspection to extract the wrapper's UUID from bytecode, then writing forged output directly to file descriptor 1 to bypass stdout redirection and terminate the wrapper process before legitimate output is generated, causing the service to trust the attacker-controlled response. This integrity bypass requires prior authentication and local/network access but enables attackers to manipulate AI tool results without detection. The vulnerability has been patched in version 2.8.0.

RemediationAI

Upgrade MaxKB to version 2.8.0 or later immediately. The fix has been released and is available via the official GitHub releases page (https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0). The patch commit 38c4cfecd065293ede0437f6fa76cf0116591d25 hardens the wrapper's result validation to prevent frame introspection and file descriptor manipulation. If immediate upgrade is not possible, restrict authenticated user access to tool definition creation and monitor LLM prompt injection attempts, though this is not a substitute for patching. Review audit logs for suspicious tool result patterns (e.g., execution results appearing before tool invocation timestamps) as a temporary detection measure.

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 execution wrapper for AI-generated tool calls that redirects and validates tool outputs. The vulnerability exploits Python's introspection capabilities-specifically the ability to access bytecode constants via the sys._getframe() API-to read the unique identifier embedded in the wrapper's compiled code. By writing directly to file descriptor 1 (the underlying file object before Python's stdout redirection layer), an authenticated attacker bypasses output validation mechanisms. The attacker then calls sys.exit(0) to terminate the wrapper process immediately, preventing the legitimate tool output from being captured and parsed. This leaves only the forged result in the validation pipeline, which MaxKB trusts as genuine. The root cause is insufficient isolation between the wrapper process and untrusted code execution, combined with reliance on stdout redirection rather than cryptographic result attestation. CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) categorizes this as a validation bypass in a data pipeline.

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

Vendor (GitHub_M) PRIMARY 3.1 LOW
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

3
Patch released
Apr 20, 2026 - 17:32 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
2.8.0
CVE Published
Apr 14, 2026 - 01:03 nvd
LOW 3.1

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% 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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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