Skip to content
MediumVulnerability

CVE-2026-32128: FastGPT Python Sandbox file write restriction bypass via stdout remapping

Identifier
CVE-2026-32128
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

CVE-2026-32128 affects FastGPT, an AI Agent building platform, in version 4.14.7 and earlier. Its Python Sandbox (fastgpt-sandbox) relies on static detection and seccomp to block file writes, but an attacker can remap stdout (fd 1) to an arbitrary writable file descriptor using fcntl. Because sys.stdout.write() still satisfies the seccomp rule write(fd==1), the attacker can create or overwrite arbitrary files inside the sandbox container.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.