{"id":"CVE-2026-42302","state":"PUBLISHED","title":"FastGPT: Unauthenticated Remote Code Execution (RCE) via code-server Misconfiguration in agent-sandbox","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.","publishedAt":"2026-05-08T22:05:49.460Z","updatedAt":"2026-05-12T18:31:43.124Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["labring FastGPT"],"affected":[{"vendor":"labring","product":"FastGPT","versions":[{"version":">= 4.14.10, < 4.14.13","status":"affected"}]}],"references":["https://github.com/labring/FastGPT/security/advisories/GHSA-34rc-438g-7w78","https://github.com/labring/FastGPT/pull/6781","https://github.com/labring/FastGPT/commit/9d1cafce9241430fb5bcdd646455055c5f4ae0a4","https://github.com/labring/FastGPT/releases/tag/v4.14.13"],"weaknesses":["CWE-306"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42302.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42302","state":"PUBLISHED","datePublished":"2026-05-08T22:05:49.460Z","dateUpdated":"2026-05-12T18:31:43.124Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-26T12:13:55.552Z"},"containers":{"cna":{"title":"FastGPT: Unauthenticated Remote Code Execution (RCE) via code-server Misconfiguration in agent-sandbox","descriptions":[{"lang":"en","value":"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":[{"vendor":"labring","product":"FastGPT","versions":[{"version":">= 4.14.10, < 4.14.13","status":"affected"}]}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-34rc-438g-7w78","name":"https://github.com/labring/FastGPT/security/advisories/GHSA-34rc-438g-7w78","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labring/FastGPT/pull/6781","name":"https://github.com/labring/FastGPT/pull/6781","tags":["x_refsource_MISC"]},{"url":"https://github.com/labring/FastGPT/commit/9d1cafce9241430fb5bcdd646455055c5f4ae0a4","name":"https://github.com/labring/FastGPT/commit/9d1cafce9241430fb5bcdd646455055c5f4ae0a4","tags":["x_refsource_MISC"]},{"url":"https://github.com/labring/FastGPT/releases/tag/v4.14.13","name":"https://github.com/labring/FastGPT/releases/tag/v4.14.13","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-306","lang":"en","description":"CWE-306: Missing Authentication for Critical Function","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-08T22:05:49.460Z"},"source":{"advisory":"GHSA-34rc-438g-7w78","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-34rc-438g-7w78","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-12T13:04:25.589405Z","id":"CVE-2026-42302","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-12T18:31:43.124Z"}}]}}}