CVE-2026-32128 in Fastgpt
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 remappin...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fastgpt | Fastgpt | ≤ 4.14.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-32128 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-274271-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Published | 2026-03-11 |
| Last modified | 2026-03-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-184: CWE-184
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-184
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-184
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-184
CAPEC-85 AJAX Footprinting via CWE-184
CAPEC-120 Double Encoding via CWE-184
Show all 9
CAPEC-6 Argument Injection via CWE-184
CAPEC-15 Command Delimiters via CWE-184
CAPEC-73 User-Controlled Filename via CWE-184
CAPEC-182 Flash Injection via CWE-184
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
FastGPT's Python Sandbox (fastgpt-sandbox) in versions 4.14.7 and earlier is vulnerable to a file write bypass due to remapping stdout to an arbitrary writable file descriptor, allowing unauthorized file writes.
An attacker can bypass the guardrails intended to prevent file writes by remapping stdout (file descriptor 1) to another writable file descriptor using fcntl. This allows the attacker to write to arbitrary files via sys.stdout.write() while still satisfying the seccomp rule that only allows writes to fd==1.
Questions
What is CVE-2026-32128?
FastGPT's Python Sandbox (fastgpt-sandbox) in versions 4.14.7 and earlier is vulnerable to a file write bypass due to remapping stdout to an arbitrary writable file descriptor, allowing unauthorized file writes.
What is the CVSS score for CVE-2026-32128?
CVE-2026-32128 has CVSS 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.4%.
Is CVE-2026-32128 actively exploited?
No confirmed active exploitation of CVE-2026-32128 as of 2026-05-30.
How do I remediate CVE-2026-32128?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-32128?
CVE-2026-32128 affects Fastgpt Fastgpt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fastgpt","product":"Fastgpt","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-03-19.