Skip to content
MediumVulnerability

CVE-2026-44287: FastGPT JavaScript sandbox code execution via dynamic import bypass

Identifier
CVE-2026-44287
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2026-44287 affects FastGPT, an AI Agent building platform, before 4.15.0-beta1. The JavaScript sandbox worker at projects/code-sandbox/src/pool/worker.ts:356 blocks dynamic import() with the regex /\bimport\s*\(/.test(code), which misses a block comment placed between import and (, such as import/**/("child_process"). Because import() is not wrapped by the safeRequire Proxy, which only proxies require, an attacker can load child_process and call execSync to run arbitrary commands as uid=100(sandbox) inside the sandbox container.

Mitigation

Fixed in 4.15.0-beta1.