CVE-2025-49131
FastGPT Sandbox Vulnerable to Sandbox Bypass
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Analyzed | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.49% · top 58% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
References (5)
- https://github.com/labring/FastGPT/security/advisories/GHSA-f3pf-r3g7-g895 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/labring/FastGPT/pull/4958 (opens in a new tab)x_refsource_MISC
- https://github.com/labring/FastGPT/commit/bb810a43a1c70683fab7f5fe993771e930a94426 (opens in a new tab)x_refsource_MISC
- https://github.com/labring/FastGPT/pkgs/container/fastgpt-sandbox (opens in a new tab)x_refsource_MISC
- https://github.com/labring/FastGPT/releases/tag/v4.9.11 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-49131)Record last updated .