3.1low
MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing
- Severity
- 3.1low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 1Panel-dev MaxKB | < 2.8.0 | CVE List |
| maxkb maxkb | before 2.8.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
MaxKB es un asistente de IA de código abierto para empresas. En las versiones 2.7.1 e inferiores, un usuario autenticado puede eludir la validación de resultados de la sandbox y falsificar los resultados de ejecución de herramientas explotando la introspección de marcos de Python para leer el UUID del wrapper desde sus constantes de bytecode, y luego escribiendo un resultado forjado directamente en el descriptor de archivo 1 (eludiendo la redirección de stdout). Al llamar a sys.exit(0), el atacante termina el wrapper antes de que imprima la salida legítima, lo que hace que el servicio MaxKB analice y confíe en la respuesta falsificada como el resultado genuino de la herramienta. Este problema ha sido solucionado en la versión 2.8.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-39419 changed 2026-04-14 | CVE Terms of Use |
| NVD | CVE-2026-39419 changed 2026-10-26 | Public domain |