Labring FastGPT
FastGPT Sandbox Vulnerable to Sandbox Bypass
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.9.11
Fixed in 4.9.11
Mitigation
Upgrade FastGPT to 4.9.11 or later.
References
- Vendor advisory github.com/labring/FastGPT/security/advisories…
- Patch github.com/labring/FastGPT/pull/4958
- Patch github.com/labring/FastGPT/commit/bb810a43a1c7…
1 more
- Release notes github.com/labring/FastGPT/releases/tag/v4.9.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 suspicious or fake
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Wenura17125/cve-2025-49131-poc | 30 Dec 2025 +204 d | 0 | Suspicious · score 85
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.