Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fastgpt | Fastgpt | < 4.9.11 |
Related Weaknesses (CWE)
References
- https://github.com/labring/FastGPT/commit/bb810a43a1c70683fab7f5fe993771e930a944Patch
- https://github.com/labring/FastGPT/pkgs/container/fastgpt-sandboxProduct
- https://github.com/labring/FastGPT/pull/4958Issue Tracking
- https://github.com/labring/FastGPT/releases/tag/v4.9.11Release Notes
- https://github.com/labring/FastGPT/security/advisories/GHSA-f3pf-r3g7-g895Vendor Advisory
FAQ
What is CVE-2025-49131?
CVE-2025-49131 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 specialize...
How severe is CVE-2025-49131?
CVE-2025-49131 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-49131?
Check the references section above for vendor advisories and patch information. Affected products include: Fastgpt Fastgpt.