# CVE-2025-49131: FastGPT Sandbox Vulnerable to Sandbox Bypass

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-06-09T12:42:46.513Z
- Modified: 2026-06-17T09:30:47.883Z
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- labring FastGPT: < 4.9.11
- fastgpt fastgpt: before 4.9.11

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/labring/FastGPT/security/advisories/GHSA-f3pf-r3g7-g895> (vendor-advisory)
- <https://github.com/labring/FastGPT/pull/4958> (issue-tracking)
- <https://github.com/labring/FastGPT/commit/bb810a43a1c70683fab7f5fe993771e930a94426> (patch)
- <https://github.com/labring/FastGPT/pkgs/container/fastgpt-sandbox> (product)
- <https://github.com/labring/FastGPT/releases/tag/v4.9.11> (release-notes)

## Sources

- CVE List: [CVE-2025-49131](https://www.cve.org/CVERecord?id=CVE-2025-49131), CVE Terms of Use, modified 2025-06-09
- NVD: [CVE-2025-49131](https://nvd.nist.gov/vuln/detail/CVE-2025-49131), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49131 · Whole record: https://cve.day/CVE-2025-49131.json · Rebuilt by cve.day 2026-11-25T22:58:58.940Z
