CVE-2026-32128: FastGPT Python Sandbox Bypass of File-Write Restriction

Published Mar 11, 2026
·
Updated

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.

Affected Software

2 affected components
pypi/fastgpt-sandbox<4.14.7
FastGPT FastGPT<=4.14.7

Event History

Mar 11, 2026
CVE Published
via MITRE·09:30 PM
Data Sourced
via MITRE·09:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-32128?

CVE-2026-32128 is considered to have a medium severity due to its potential to bypass file-write restrictions.

2

How do I fix CVE-2026-32128?

To fix CVE-2026-32128, upgrade to FastGPT version 4.14.8 or later where the vulnerability has been patched.

3

What software is affected by CVE-2026-32128?

CVE-2026-32128 affects FastGPT versions up to 4.14.7, specifically the fastgpt-sandbox component.

4

What type of vulnerability is CVE-2026-32128?

CVE-2026-32128 is a sandbox bypass vulnerability that compromises file-write restrictions in the Python environment.

5

Can CVE-2026-32128 be exploited remotely?

CVE-2026-32128 can potentially be exploited locally by remapping stdout, allowing unauthorized file write operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203