CVE-2026-39418

MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, sandbox network protection can be bypassed by using socket.sendto() with the MSG_FASTOPEN flag. This allows authenticated user with tool-editing permissions to reach internal services that are explicitly blocked by the sandbox's banned hosts configuration. MaxKB's sandbox uses LD_PRELOAD to hook the connect() function and block connections to banned IPs, but Linux's sendto() with the MSG_FASTOPEN flag can establish TCP connections directly through the kernel without ever calling connect(), completely bypassing the IP validation. Although sendto is listed in the syscall() wrapper, this is ineffective because glibc invokes the kernel syscall directly rather than routing through the hooked syscall() function. This issue has been fixed in version 2.8.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) MaxKB es un asistente de IA de código abierto para empresas. En las versiones 2.7.1 e inferiores, la protección de red del sandbox puede ser eludida mediante el uso de socket.sendto() con la bandera MSG_FASTOPEN. Esto permite a usuarios autenticados con permisos de edición de herramientas acceder a servicios internos que están explícitamente bloqueados por la configuración de hosts prohibidos del sandbox. El sandbox de MaxKB utiliza LD_PRELOAD para interceptar la función connect() y bloquear las conexiones a IPs prohibidas, pero sendto() de Linux con la bandera MSG_FASTOPEN puede establecer conexiones TCP directamente a través del kernel sin llamar nunca a connect(), eludiendo completamente la validación de IP. Aunque sendto está listado en el wrapper de syscall(), esto es ineficaz porque glibc invoca la llamada al sistema del kernel directamente en lugar de enrutar a través de la función syscall() interceptada. Este problema ha sido solucionado en la versión 2.8.0.

Information

Published : 2026-04-14 01:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-39418

Mitre link : CVE-2026-39418

CVE.ORG link : CVE-2026-39418


JSON object : View

Products Affected

maxkb

  • maxkb
CWE
CWE-918

Server-Side Request Forgery (SSRF)