Skip to main content
← All vulnerabilities
CVE-2026-32128

FastGPT Python Sandbox Bypass of File-Write Restriction

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • labring FastGPT

    through 4.14.7

References 2

GitHub · labring/FastGPT

GitHub · qianlijaingshan/fastgpt-sandbox-audit