Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Lifecycle Timeline
4DescriptionGitHub Advisory
FastGPT is an AI Agent building platform. Prior to 4.14.10.3, the /api/core/app/mcpTools/runTool endpoint accepts arbitrary URLs without authentication. The internal IP check in isInternalAddress() only blocks private IPs when CHECK_INTERNAL_IP=true, which is not the default. This allows unauthenticated attackers to perform SSRF against internal network resources. This vulnerability is fixed in 4.14.10.3.
AnalysisAI
Server-side request forgery (SSRF) in FastGPT versions prior to 4.14.10.3 allows unauthenticated remote attackers to probe and access internal network resources via the /api/core/app/mcpTools/runTool endpoint, which accepts arbitrary URLs without proper validation. The vulnerability is exploitable by default because the internal IP check is gated behind a disabled configuration flag (CHECK_INTERNAL_IP=false), enabling attackers to bypass network segmentation and potentially discover or interact with backend services, databases, or cloud metadata endpoints.
Technical ContextAI
FastGPT's mcpTools endpoint is designed to execute remote procedures but implements insufficient server-side request validation. The isInternalAddress() function attempts to filter private IP ranges (RFC 1918 addresses, loopback, link-local) but this check is only enforced when CHECK_INTERNAL_IP environment variable is explicitly set to true-a non-default configuration. This is a classic SSRF vulnerability (CWE-918) where user-controlled URL input is passed to backend HTTP requests without adequate origin validation. The root cause is the reliance on a disabled security feature rather than secure-by-default design. An attacker can craft requests to the /api/core/app/mcpTools/runTool endpoint with URLs pointing to internal services (e.g., http://169.254.169.254/latest/meta-data/ for AWS metadata, http://localhost:5432 for databases, or http://192.168.x.x/admin for internal networks), and the server will attempt to fetch and return responses, leaking sensitive information or enabling lateral movement.
RemediationAI
Upgrade FastGPT to version 4.14.10.3 or later, which includes the security fix for URL validation in the mcpTools endpoint. For organizations unable to upgrade immediately, enable the CHECK_INTERNAL_IP environment variable (set CHECK_INTERNAL_IP=true) to activate the internal IP range filtering, though this is a temporary mitigation and not a substitute for patching. Additionally, implement network-level controls by restricting outbound access from FastGPT services to internal networks and cloud metadata endpoints (e.g., 169.254.169.254), and consider placing FastGPT behind a Web Application Firewall (WAF) configured to block requests to suspicious internal IP ranges or loopback addresses. The security advisory is available at https://github.com/labring/FastGPT/security/advisories/GHSA-jrhc-f3j7-f8g4.
FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t
Unauthenticated HTTP proxy abuse in FastGPT (AI Agent platform) prior to v4.14.9.5 allows remote attackers to relay arbi
Remote code execution in FastGPT's agent-sandbox component (versions 4.14.10 through 4.14.12) lets any network-adjacent,
NoSQL injection in FastGPT <4.14.9.5 password authentication allows unauthenticated remote attackers to bypass login con
GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request
NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th
Authentication bypass in FastGPT 4.15.0-beta4 lets unauthenticated remote attackers forge JWTs and access internal plugi
Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by
Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI
Server-Side Request Forgery in Labring FastGPT prior to 4.15.0-beta1 lets an authenticated attacker bypass the platform'
Server-side request forgery in FastGPT (labring) versions 4.14.11 and prior lets a low-privileged user coerce the server
Server-Side Request Forgery (SSRF) in FastGPT's Model Context Protocol (MCP) tools endpoints allows authenticated attack
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-21507