{"id":"CVE-2026-42302","summary":"FastGPT: Unauthenticated Remote Code Execution (RCE) via code-server Misconfiguration in agent-sandbox","details":"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.","aliases":["GHSA-34rc-438g-7w78"],"modified":"2026-11-07T02:47:36.114697909Z","published":"2026-05-08T22:05:49.460Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-306"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42302.json"},"references":[{"type":"WEB","url":"https://github.com/labring/FastGPT/releases/tag/v4.14.13"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42302.json"},{"type":"ADVISORY","url":"https://github.com/labring/FastGPT/security/advisories/GHSA-34rc-438g-7w78"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42302"},{"type":"FIX","url":"https://github.com/labring/FastGPT/commit/9d1cafce9241430fb5bcdd646455055c5f4ae0a4"},{"type":"FIX","url":"https://github.com/labring/FastGPT/pull/6781"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/labring/fastgpt","events":[{"introduced":"361195671e37cfc0ff47abea7e2936f1414c742f"},{"fixed":"2fe03ec0b9b62e8dc1532be240d9386b6f28754c"},{"fixed":"9d1cafce9241430fb5bcdd646455055c5f4ae0a4"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"4.14.10"},{"fixed":"4.14.13"}]},{"range":[{"fixed":"9d1cafce9241430fb5bcdd646455055c5f4ae0a4"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v4.14.13","range":[{"fixed":"2fe03ec0b9b62e8dc1532be240d9386b6f28754c"}],"source":"REFERENCES_TAG"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42302.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}