CVE-2025-49131 json
FastGPT Sandbox Vulnerable to Sandbox Bypass
published 2025-06-09 17 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-17467
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- fastgpt fastgpt 4.9.11
- github.com/labring/FastGPT@bb810a4 commit
- github.com/labring/FastGPT#4958 pull request
- github.com/labring/FastGPT/releases/tag/v4.9.11 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected products
- labring FastGPT
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
github.com
/labring/FastGPT/pull/4958
issue-tracking
-
github.com
/labring/FastGPT/commit/bb810a43a1c70683fab7f5fe993771e930a94426
patch
-
github.com
/labring/FastGPT/security/advisories/GHSA-f3pf-r3g7-g895
vendor-advisory
-
github.com
/labring/FastGPT/pkgs/container/fastgpt-sandbox
product
-
github.com
/labring/FastGPT/releases/tag/v4.9.11
release-notes
Sources
- CVE List CVE-2025-49131
- NVD CVE-2025-49131
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.