CVE-2026-32128CWE-184

FastGPT Python Sandbox Bypass of File-Write Restriction

Medium · published March 11, 2026

CVSS v3.1
6.3
EPSS
0%
Percentile
23.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00314 · 23.0th percentile
Weakness
CWE-184 · Incomplete List of Disallowed Inputs
Published
2026-03-11T21:30Z
EPSS history
Timeline
  • 11 MAR 21:30Z
    FastGPT Python Sandbox Bypass of File-Write Restriction
    cvelistv5