CVE-2026-42302: FastGPT: Unauthenticated Remote Code Execution (RCE) via code-server Misconfiguration in agent-sandbox
FastGPT is an AI Agent building platform. From version 4.14.10 to before version 4.14.13, the agent-sandbox component of FastGPT is vulnerable to unauthenticated Remote Code Execution (RCE). The startup script entrypoint.sh initializes code-server with the --auth none flag and binds the service to all network interfaces (0.0.0.0:8080). This configuration allows any user with network access to the port to bypass authentication and gain full control over the sandbox environment. This issue has been patched in version 4.14.13.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FastGPT (agent-sandbox)to a version that resolves this vulnerability.Fixed in 4.14.13
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42302?
CVE-2026-42302 is classified as a critical vulnerability due to its potential for unauthenticated remote code execution.
How do I fix CVE-2026-42302?
To mitigate CVE-2026-42302, upgrade FastGPT agent-sandbox to version 4.14.13 or later.
Who is affected by CVE-2026-42302?
CVE-2026-42302 affects FastGPT FastGPT agent-sandbox versions from 4.14.10 to prior to 4.14.13.
What type of vulnerability is CVE-2026-42302?
CVE-2026-42302 is an unauthenticated remote code execution (RCE) vulnerability.
When was CVE-2026-42302 disclosed?
CVE-2026-42302 was disclosed in 2026 as part of a security assessment of FastGPT.