Vulnerability in Fastgpt
CVE-2025-49131
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.005 (38.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 38.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Fastgpt
- Labring Fastgpt — versions < 4.9.11
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/labring/FastGPT/security/advisories/GHSA-f3pf-r3g7-g895 (Vendor Advisory)
- github.com/labring/FastGPT/pull/4958 (Issue Tracking)
- github.com/labring/FastGPT/commit/bb810a43a1c70683fab7f5fe993771e930a94426 (Patch)
- github.com/labring/FastGPT/pkgs/container/fastgpt-sandbox (Product)
- github.com/labring/FastGPT/releases/tag/v4.9.11 (Release Notes)
Frequently asked questions
- What is CVE-2025-49131?
- CVE-2025-49131 is a medium-severity vulnerability in Fastgpt, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 6.3/10. Published 2025-06-09.
- How severe is CVE-2025-49131?
- Medium severity. CVSS v3 base score is 6.3 out of 10.
- Is CVE-2025-49131 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.