CVE-2025-49131: FastGPT Sandbox Vulnerable to Sandbox Bypass

Published Jun 9, 2025
·
Updated

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 Software

2 affected components
FastGPT Sandbox<4.9.11
FastGPT FastGPT<4.9.11

Event History

Jun 9, 2025
CVE Published
via MITRE·12:42 PM
Data Sourced
via MITRE·12:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-49131?

The severity of CVE-2025-49131 is classified as a high-impact vulnerability that could lead to unauthorized access.

2

How do I fix CVE-2025-49131?

To fix CVE-2025-49131, update the FastGPT Sandbox to version 4.9.12 or later.

3

What is affected by CVE-2025-49131?

CVE-2025-49131 affects FastGPT Sandbox versions prior to 4.9.12.

4

What type of vulnerability is CVE-2025-49131?

CVE-2025-49131 is a security vulnerability related to user input handling in the FastGPT Sandbox.

5

Who is the vendor for CVE-2025-49131?

The vendor for CVE-2025-49131 is FastGPT, which maintains the FastGPT Sandbox.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203