# CVE-2026-42302: FastGPT: Unauthenticated Remote Code Execution (RCE) via code-server Misconfiguration in agent-sandbox

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T22:05:49.460Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- labring FastGPT: >= 4.14.10, < 4.14.13

## References

- <https://github.com/labring/FastGPT/security/advisories/GHSA-34rc-438g-7w78> (exploit)
- <https://github.com/labring/FastGPT/pull/6781>
- <https://github.com/labring/FastGPT/commit/9d1cafce9241430fb5bcdd646455055c5f4ae0a4>
- <https://github.com/labring/FastGPT/releases/tag/v4.14.13>

## Sources

- CVE List: [CVE-2026-42302](https://www.cve.org/CVERecord?id=CVE-2026-42302), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2026-42302](https://nvd.nist.gov/vuln/detail/CVE-2026-42302), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42302 · Whole record: https://cve.day/CVE-2026-42302.json · Rebuilt by cve.day 2026-11-25T22:59:21.120Z
