Skip to main content

Fastgpt CVE-2026-40100

| EUVDEUVD-2026-21507 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-10 GitHub_M
5.3
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
5.3 MEDIUM
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

4
Patch available
Apr 16, 2026 - 05:29 EUVD
4.14.10.3
EUVD ID Assigned
Apr 10, 2026 - 17:15 euvd
EUVD-2026-21507
Analysis Generated
Apr 10, 2026 - 17:15 vuln.today
CVE Published
Apr 10, 2026 - 16:39 nvd
MEDIUM 5.3

DescriptionGitHub 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.

CVE-2025-52552 MEDIUM POC
6.1 Jun 21

FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t

CVE-2026-34162 CRITICAL
10.0 Mar 31

Unauthenticated HTTP proxy abuse in FastGPT (AI Agent platform) prior to v4.14.9.5 allows remote attackers to relay arbi

CVE-2026-42302 CRITICAL
9.8 May 08

Remote code execution in FastGPT's agent-sandbox component (versions 4.14.10 through 4.14.12) lets any network-adjacent,

CVE-2026-40351 CRITICAL
9.8 Apr 17

NoSQL injection in FastGPT <4.14.9.5 password authentication allows unauthenticated remote attackers to bypass login con

CVE-2026-50562 CRITICAL
9.3 Jul 15

GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request

CVE-2026-40352 HIGH
8.8 Apr 17

NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th

CVE-2026-61684 HIGH
8.8 Jul 15

Authentication bypass in FastGPT 4.15.0-beta4 lets unauthenticated remote attackers forge JWTs and access internal plugi

CVE-2026-55418 HIGH
8.6 Jul 07

Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by

CVE-2026-54607 HIGH
7.7 Jul 07

Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI

CVE-2026-44285 HIGH
7.7 May 29

Server-Side Request Forgery in Labring FastGPT prior to 4.15.0-beta1 lets an authenticated attacker bypass the platform'

CVE-2026-42345 HIGH
7.7 May 08

Server-side request forgery in FastGPT (labring) versions 4.14.11 and prior lets a low-privileged user coerce the server

CVE-2026-34163 HIGH
7.7 Mar 31

Server-Side Request Forgery (SSRF) in FastGPT's Model Context Protocol (MCP) tools endpoints allows authenticated attack

Share

CVE-2026-40100 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy