{"id":"CVE-2026-32128","state":"PUBLISHED","title":"FastGPT Python Sandbox Bypass of File-Write Restriction","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.","publishedAt":"2026-03-11T21:30:26.336Z","updatedAt":"2026-03-12T16:18:13.936Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["labring FastGPT"],"affected":[{"vendor":"labring","product":"FastGPT","versions":[{"version":"<= 4.14.7","status":"affected"}]}],"references":["https://github.com/labring/FastGPT/security/advisories/GHSA-6hw6-mxrm-v6wj"],"weaknesses":["CWE-184"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32128.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32128","state":"PUBLISHED","datePublished":"2026-03-11T21:30:26.336Z","dateUpdated":"2026-03-12T16:18:13.936Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-10T22:19:36.545Z"},"containers":{"cna":{"title":"FastGPT Python Sandbox Bypass of File-Write Restriction","descriptions":[{"lang":"en","value":"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":[{"vendor":"labring","product":"FastGPT","versions":[{"version":"<= 4.14.7","status":"affected"}]}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-6hw6-mxrm-v6wj","name":"https://github.com/labring/FastGPT/security/advisories/GHSA-6hw6-mxrm-v6wj","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-184","lang":"en","description":"CWE-184: Incomplete List of Disallowed Inputs","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-11T21:30:26.336Z"},"source":{"advisory":"GHSA-6hw6-mxrm-v6wj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-12T15:31:49.185736Z","id":"CVE-2026-32128","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-12T16:18:13.936Z"}}]}}}