{"id":"CVE-2026-32128","published":"2026-03-11T21:30:26Z","modified":"2026-03-12T16:18:13Z","title":"FastGPT Python Sandbox Bypass of File-Write Restriction","vendor":"labring","product":"FastGPT","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00347,"percentile":0.28984,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-6hw6-mxrm-v6wj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":5.8},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-18","earliestUrl":"https://github.com/qianlijaingshan/fastgpt-sandbox-audit","repos":[{"name":"qianlijaingshan/fastgpt-sandbox-audit","url":"https://github.com/qianlijaingshan/fastgpt-sandbox-audit","stars":1,"created":"2026-08-18"}]},"first":{"date":"2026-08-18","source":"PoC-in-GitHub","url":"https://github.com/qianlijaingshan/fastgpt-sandbox-audit"},"provenance":"source"},"vendorSlug":"labring","affectedVersions":[{"vendor":"labring","product":"FastGPT","versions":["<= 4.14.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-12T15:31:49.185736Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-11408","exploited":false,"provenance":"source"}}