Paper/Archive/CVE-2026-42302

CVE-2026-42302

labring FastGPT — FastGPT: Unauthenticated Remote Code Execution (RCE) via code-server Misconfiguration in agent-sandbox

Description · from the CVE record

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

ProductAffectedFixed inSource
FastGPT>= 4.14.10, < 4.14.13–CNA

Scores by source

GitHub_M (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/labring/FastGPT/security/advisories/GHSA-34rc-438g-7w78refgithub.com/labring/FastGPT/pull/6781refgithub.com/labring/FastGPT/commit/9d1cafce9241430fb5bcdd646455055c5f4ae0a4refgithub.com/labring/FastGPT/releases/tag/v4.14.13