CVE-2026-84301 FastGPT safe axios SSRF guard still allows DNS rebinding TOCTOU on protected outbound requests
설명
FastGPT is an open-source LLM platform for building AI applications on a knowledge base. Prior to 4.15.2, the safe Axios request interceptor in packages/service/common/api/axios.ts validates a hostname with isInternalAddress() before a later HTTP connection performs an independent DNS lookup, creating a DNS rebinding window, allowing an attacker-controlled hostname to resolve publicly during the check and to a loopback, private, link-local, or metadata address during connection. An authenticated attacker who can supply a URL to a safe-Axios-backed HTTP tool, workflow HTTP node, external file fetch, or other server-side integration can use this time-of-check/time-of-use gap to reach services that direct private-address inputs would block. The same independent re-resolution occurs after manual redirect hops because each redirect target is checked before a separate connection lookup. This issue is fixed in version 4.15.2.
영향 받는 제품 제품 1개
-
해결 버전 있음
labring
FastGPT
영향 받는 버전
- 4.15.2 미만
해결 버전
- 4.15.2 이상
참고 자료 4건
- github.com https://github.com/labring/FastGPT/commit/0a38565c9d1f790045636bd9d55f8d2296c938c7 (새 창)
- github.com https://github.com/labring/FastGPT/pull/7261 (새 창)
- github.com https://github.com/labring/FastGPT/releases/tag/v4.15.2 (새 창)
- github.com https://github.com/labring/FastGPT/security/advisories/GHSA-6jwp-qf29-hpj9 (새 창)