Security Bypass in MaxKB AI Assistant Affecting Versions 2.7.1 and Below
CVE-2026-39418
What is CVE-2026-39418?
MaxKB, an open-source AI assistant for enterprise, is susceptible to a critical security flaw that allows authenticated users to bypass sandbox network protections in versions 2.7.1 and earlier. By using the socket.sendto() function with the MSG_FASTOPEN flag, users with tool-editing permissions can access internal services that should be restricted by the sandbox's banned hosts configuration. The sandbox attempts to enforce network restrictions through LD_PRELOAD and hooks into the connect() function. However, the use of sendto() with MSG_FASTOPEN can circumvent these controls by establishing TCP connections directly through the kernel, effectively undermining the intended IP validation and compromising the integrity of the system. This vulnerability has been addressed in version 2.8.0.
Affected Version(s)
MaxKB < 2.8.0
