CVE-2025-49131

Medium

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.

SeverityMedium
CVSS6.3
Exploit probability—
ProductFastgpt
PublishedJun 9, 2025
First seenJun 9, 2025
Weakness typeCWE-732CWE-732

How to fix

Update
  • fastgpt fastgpt4.9.11 or later

Affected products

ProductAffected versionsFixed in
fastgpt fastgptv < 4.9.114.9.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.