FastGPT is an AI Agent building platform. In 4.14.7 and earlier, FastGPT's Python Sandbox (fastgpt-sandbox) includes guardrails intended to prevent file writes (static detection + seccomp). These guardrails are bypassable by remapping stdout (fd 1) to an arbitrary writable file descriptor using fcntl. After remapping, writing via sys.stdout.write() still satisfies the seccomp rule write(fd==1), enabling arbitrary file creation/overwrite inside the sandbox container despite the intended no file writes restriction.
References
| Link | Resource |
|---|---|
| https://github.com/labring/FastGPT/security/advisories/GHSA-6hw6-mxrm-v6wj | Vendor Advisory Exploit Mitigation |
Configurations
History
No history.
Information
Published : 2026-03-11 22:16
Updated : 2026-03-19 17:38
NVD link : CVE-2026-32128
Mitre link : CVE-2026-32128
CVE.ORG link : CVE-2026-32128
JSON object : View
Products Affected
fastgpt
- fastgpt
CWE
CWE-184
Incomplete List of Disallowed Inputs
