Skip to content
MediumVulnerability

CVE-2026-39420: MaxKB sandbox escape via env command in Tool Debug API

Identifier
CVE-2026-39420
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

MaxKB versions 2.7.1 and below contain an incomplete sandbox protection for Python code run through the Tool Debug API. An authenticated user with tool execution privileges can use the /usr/bin/env utility, via env -i python, to clear LD_PRELOAD and drop the sandbox.so hook, which yields unrestricted Remote Code Execution and network access.

Mitigation

Fixed in 2.8.0.