CVE-2026-42302: Unauthenticated RCE in FastGPT agent-sandbox code-server
CVE-2026-42302 is an unauthenticated remote code execution vulnerability in the agent-sandbox component of FastGPT affecting versions 4.14.10 through before 4.14.13. The issue is caused by the startup script entrypoint.sh launching code-server with the --auth none flag while binding the service to all network interfaces on 0.0.0.0:8080. As a result, the sandbox’s code-server instance is exposed without authentication, allowing any remote party with network reachability to access and control the sandbox environment. The advisory states that successful exploitation yields full control of the sandbox environment.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated attacker who can reach the exposed code-server port can bypass authentication entirely and obtain remote code execution within the FastGPT sandbox. The documented impact is full control over the sandbox environment, with high confidentiality, integrity, and availability impact consistent with the provided CVSS vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict network access to the agent-sandbox code-server service so that port 8080 is not reachable by untrusted users or external networks. Limit exposure of the sandbox to trusted management paths only, and avoid running code-server with authentication disabled. Binding the service away from 0.0.0.0 and enforcing authentication would reduce exposure, though the authoritative remediation is to upgrade to 4.14.13 or later.
Remediation
Patch, then assume compromise.
Upgrade FastGPT to version 4.14.13 or later, which patches the vulnerable agent-sandbox configuration. The provided references indicate the fix is associated with GitHub commit 9d1cafce9241430fb5bcdd646455055c5f4ae0a4, FastGPT pull request #6781, and the v4.14.13 release.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-42302 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-42302?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-42302.
- Is there a patch for CVE-2026-42302?
- Upgrade FastGPT to version 4.14.13 or later, which patches the vulnerable agent-sandbox configuration. The provided references indicate the fix is associated with GitHub commit 9d1cafce9241430fb5bcdd646455055c5f4ae0a4, FastGPT pull request #6781, and the v4.14.13 release.
- How severe is CVE-2026-42302?
- CVE-2026-42302 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.72% (54th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.