Critical severity · published Jun 9, 2025
CVE-2025-49131
FastGPT Sandbox Vulnerable to Sandbox Bypass
9.9
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 39% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
FastGPT · labring
< 4.9.11 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-49131
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-49131
Patch
https://github.com/labring/FastGPT/commit/bb810a43a1c70683fab7f5fe993771e930a94426
Product
https://github.com/labring/FastGPT/pkgs/container/fastgpt-sandbox
Issue Tracking
https://github.com/labring/FastGPT/pull/4958
Release Notes
https://github.com/labring/FastGPT/releases/tag/v4.9.11
Vendor Advisory
https://github.com/labring/FastGPT/security/advisories/GHSA-f3pf-r3g7-g895
More from FastGPT
10.0
CVE-2026-34162
FastGPT: Unauthenticated SSRF via httpTools Endpoint Leads to Internal API Key Theft
9.8
CVE-2026-42302
FastGPT: Unauthenticated Remote Code Execution (RCE) via code-server Misconfiguration in agent-sandbox
9.8
CVE-2026-40351
FastGPT: NoSQL Injection in loginByPassword leads to Authentication Bypass
9.3
CVE-2026-68929
FastGPT: Unauthenticated WeChat channel hijack and denial of service via shareId-only authorization
9.3
CVE-2026-50562
FastGPT: Untrusted PR artifacts are pushed and deployed by privileged preview workflows
