CVE-2026-32128
MEDIUMfastgpt < 4.14.7 - Arbitrary File Write via stdout File Descriptor Remapping
Title source: llmDescription
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 (1)
Core 1
Core References
Vendor Advisory x_refsource_confirm
https://github.com/labring/FastGPT/security/advisories/GHSA-6hw6-mxrm-v6wj
Scores
CVSS v3
6.3
EPSS
0.0030
EPSS Percentile
21.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-184
Status
published
Products (1)
fastgpt/fastgpt
< 4.14.7
Published
Mar 11, 2026
Tracked Since
Mar 12, 2026