{"id":"CVE-2026-44287","sourceIdentifier":"security-advisories@github.com","published":"2026-05-29T20:16:24.243","lastModified":"2026-07-22T06:10:00.170","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"FastGPT is an AI Agent building platform. Prior to 4.15.0-beta1, the JavaScript sandbox worker at projects/code-sandbox/src/pool/worker.ts:356 blocks dynamic import() with the regex /\\bimport\\s*\\(/.test(code). JavaScript syntax accepts a block comment between import and (; the regex matches only ASCII whitespace, and the bytes /, *, *, / are not in the \\s character class. The payload import/**/(\"child_process\") parses as a syntactically valid dynamic import that the regex does not detect. Because import() is not wrapped by the safeRequire Proxy (which only proxies require), the attacker loads child_process and calls execSync - arbitrary command execution as uid=100(sandbox) inside the sandbox container. This vulnerability is fixed in 4.15.0-beta1."},{"lang":"es","value":"FastGPT es una plataforma de creación de agentes de IA. Antes de 4.15.0-beta1, el worker de JavaScript del sandbox en projects/code-sandbox/src/pool/worker.ts:356 bloquea la importación dinámica import() con la expresión regular /\\bimport\\s*\\(/.test(code). La sintaxis de JavaScript acepta un comentario de bloque entre import y (; la expresión regular solo coincide con espacios en blanco ASCII, y los bytes /, *, *, / no están en la clase de caracteres \\s. La carga útil import/**/(\"child_process\") se analiza como una importación dinámica sintácticamente válida que la expresión regular no detecta. Debido a que import() no está envuelto por el Proxy safeRequire (que solo proxyfica require), el atacante carga child_process y llama a execSync - ejecución de comandos arbitrarios como uid=100(sandbox) dentro del contenedor del sandbox. Esta vulnerabilidad está corregida en 4.15.0-beta1."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"labring","product":"FastGPT","versions":[{"version":"< 4.15.0-beta1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"},"exploitabilityScore":2.8,"impactScore":3.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-01T13:53:29.529997Z","id":"CVE-2026-44287","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-94"},{"lang":"en","value":"CWE-184"}]}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-f5mq-qxm4-5mvc","source":"security-advisories@github.com"},{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-f5mq-qxm4-5mvc","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}