{"id":"CVE-2026-32128","aliases":["CVE-2026-32128"],"related":[],"kind":"vulnerability","state":"published","title":"FastGPT Python Sandbox Bypass of File-Write Restriction","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"FastGPT es una plataforma de creación de agentes de IA. En 4.14.7 y versiones anteriores, el sandbox de Python de FastGPT (fastgpt-sandbox) incluye barreras de seguridad destinadas a prevenir escrituras de archivos (detección estática + seccomp). Estas barreras de seguridad son eludibles reasignando stdout (fd 1) a un descriptor de archivo arbitrario con permisos de escritura usando fcntl. Después de la reasignación, la escritura a través de sys.stdout.write() aún satisface la regla de seccomp write(fd==1), lo que permite la creación/sobrescritura arbitraria de archivos dentro del contenedor del sandbox a pesar de la restricción intencionada de no escritura de archivos.","source":"nvd"}],"published":"2026-03-11T21:30:26.336Z","modified":"2026-06-17T10:35:11.160Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-184"],"affected":[{"ranges":[{"version":"<= 4.14.7","status":"affected"}],"vendor":"labring","product":"FastGPT","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"4.14.7"}],"vendor":"fastgpt","product":"fastgpt","cpe":"cpe:2.3:a:fastgpt:fastgpt:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-6hw6-mxrm-v6wj","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-03-12T15:31:49.185Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32128","url":"https://www.cve.org/CVERecord?id=CVE-2026-32128","licence":"CVE Terms of Use","modified":"2026-03-12T16:18:13.936Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32128","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32128","licence":"Public domain","modified":"2026-06-17T10:35:11.160Z"}],"updatedAt":"2026-11-25T22:59:15.793Z","epss":{"score":0.00347,"percentile":0.30232,"date":"2026-12-01T12:00:22.000Z"}}