CVE-2026-32128: FastGPT Python sandbox file-write guardrail bypass via fcntl stdout remap
FastGPT's Python Sandbox (fastgpt-sandbox) in version 4.14.7 and earlier contains guardrails (static detection plus seccomp) intended to block file writes, but they can be bypassed by remapping stdout (fd 1) to another writable file descriptor with fcntl. Writes via sys.stdout.write() then still satisfy the seccomp rule for write(fd==1), allowing arbitrary file creation or overwrite inside the sandbox container.
Disclosed 11 March 2026 · Record updated 13 September 2026
Impact
Arbitrary file creation/overwrite within the sandbox container, defeating the intended no-file-writes restriction in the AI agent platform's code execution sandbox.
Our coverage
No articles linked to this incident yet.
Sources
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-32128
