Skip to content

CVE-2025-49131 FastGPT Sandbox Vulnerable to Sandbox Bypass

CriticalCVSS 9.9 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

FastGPT is an open-source project that provides a platform for building, deploying, and operating AI-driven workflows and conversational agents. The Sandbox container (fastgpt-sandbox) is a specialized, isolated environment used by FastGPT to safely execute user-submitted or dynamically generated code in isolation. The sandbox before version 4.9.11 has insufficient isolation and inadequate restrictions on code execution by allowing overly permissive syscalls, which allows attackers to escape the intended sandbox boundaries. Attackers could exploit this to read and overwrite arbitrary files and bypass Python module import restrictions. This is patched in version 4.9.11 by restricting the allowed system calls to a safer subset and additional descriptive error messaging.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
fastgpt < 4.9.11 4.9.11 Fixed
labring FastGPT = < 4.9.11 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
labring FastGPT = < 4.9.11 No fix listed
fastgpt < 4.9.11 4.9.11

References