CVE-2025-49131: FastGPT Sandbox Vulnerable to Sandbox Bypass
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49131?
The severity of CVE-2025-49131 is classified as a high-impact vulnerability that could lead to unauthorized access.
How do I fix CVE-2025-49131?
To fix CVE-2025-49131, update the FastGPT Sandbox to version 4.9.12 or later.
What is affected by CVE-2025-49131?
CVE-2025-49131 affects FastGPT Sandbox versions prior to 4.9.12.
What type of vulnerability is CVE-2025-49131?
CVE-2025-49131 is a security vulnerability related to user input handling in the FastGPT Sandbox.
Who is the vendor for CVE-2025-49131?
The vendor for CVE-2025-49131 is FastGPT, which maintains the FastGPT Sandbox.