Home

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.

PUBLISHED Reserved 2026-04-07 | Published 2026-04-14 | Updated 2026-04-14 | Assigner GitHub_M




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

Problem types

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

CWE-693: Protection Mechanism Failure

CWE-290: Authentication Bypass by Spoofing

Product status

< 2.8.0
affected

References

github.com/.../MaxKB/security/advisories/GHSA-f3c8-p474-xwfv

github.com/...ommit/38c4cfecd065293ede0437f6fa76cf0116591d25

github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0

cve.org (CVE-2026-39419)

nvd.nist.gov (CVE-2026-39419)

Download JSON