Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to FastGPT application
-
DeliverySend crafted request to /api/core/app/mcpTools/runTool
-
ExploitProvide internal network URL parameter
-
ExecutionServer makes unvalidated HTTP request
-
ImpactAccess internal services and resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | FastGPT versions prior to 4.14.9.5. Authenticated user access required. Attacker exploits /api/core/app/mcpTools/getTools or /api/core/app/mcpTools/runTool endpoints by supplying malicious internal network URLs. MCP tools feature must be available. No victim interaction needed. |
| Impact | Real-world risk is HIGH despite requiring low-privilege authentication (PR:L). The CVSS 7.7 score with scope change (S:C) and high confidentiality impact (C:H) accurately reflects the severity. Attack complexity is low (AC:L) with network attack vector (AV:N), meaning any authenticated user can trivially exploit this remotely. No public exploit identified at time of analysis, though GitHub security advisory GHSA-x9vj-5m4j-9mfv provides detailed technical disclosure that functions as proof-of-concept guidance. The vulnerability enables multiple high-impact attack paths: exfiltration of cloud instance credentials (AWS/Azure/GCP metadata endpoints), reconnaissance of internal network topology, and direct interaction with unsecured internal services like Redis and MongoDB which often lack authentication on private networks. For organizations running FastGPT in cloud environments or with sensitive internal services, this represents a critical privilege escalation pathway from application-level access to infrastructure compromise. The SSVC framework would classify this as requiring immediate attention: exploitation status is public (PoC available), automatable (simple HTTP requests), and technical impact is total (credential theft enables full infrastructure access). Priority should be elevated for internet-facing deployments. |
| Exploit ScenarioDerived | An authenticated attacker with low-privilege credentials logs into FastGPT and sends a crafted POST request to /api/core/app/mcpTools/runTool with a URL parameter pointing to http://169.254.169.254/latest/meta-data/iam/security-credentials/ (AWS metadata service). The server executes the request without validation and returns temporary AWS credentials with permissions tied to the instance IAM role. The attacker extracts these credentials from the response and uses them to access S3 buckets, RDS databases, or other AWS resources outside the application's intended scope. Alternatively, the attacker targets internal Redis instances at redis://10.0.1.50:6379 to read cached session tokens or MongoDB at mongodb://10.0.2.100:27017 to dump application databases, achieving full data exfiltration through SSRF-as-a-proxy abuse. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Server-Side Request Forgery (SSRF) in FastGPT's Model Context Protocol (MCP) tools endpoints allows authenticated attackers to probe internal networks, access cloud metadata services (e.g., AWS/GCP instance credentials), and interact with backend databases like MongoDB and Redis. Affects FastGPT versions prior to 4.14.9.5. The vulnerability has CVSS 7.7 (High) with scope change indicating potential lateral movement to other system components. EPSS data not available; no confirmed active exploitation (not in CISA KEV). Public exploit code exists via GitHub security advisory GHSA-x9vj-5m4j-9mfv with technical details and proof-of-concept guidance.
RemediationAI
Upgrade immediately to FastGPT version 4.14.9.5 or later, released by the vendor with a complete fix for the SSRF vulnerability. The patch implements proper URL validation using the existing isInternalAddress() function in the MCP tools endpoints, as shown in GitHub pull request #6640 (https://github.com/labring/FastGPT/pull/6640) and commit bc7eae2ed61481a5e322208829be291faec58c00 (https://github.com/labring/FastGPT/commit/bc7eae2ed61481a5e322208829be291faec58c00). Download the patched version from the official release at https://github.com/labring/FastGPT/releases/tag/v4.14.9.5. If immediate patching is not possible, implement network-level controls to restrict outbound HTTP requests from the FastGPT application server, block access to cloud metadata IP ranges (169.254.169.254/32, fd00:ec2::254), and enforce strict authentication on all internal services. Review application logs for suspicious MCP tools API usage patterns targeting internal IP ranges.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FastGPT is an open-source AI Agent building platform (labring:fastgpt) that implements Model Context Protocol (MCP) for external tool integration. The vulnerability stems from insufficient input validation in two API endpoints (/api/core/app/mcpTools/getTools and /api/core/app/mcpTools/runTool) that accept user-controlled URL parameters to initiate server-side HTTP requests. While the application implements an isInternalAddress() function for SSRF protection used elsewhere (e.g., HTTP workflow nodes), the MCP tools endpoints bypass this safeguard entirely. This is a classic CWE-918 Server-Side Request Forgery flaw where the application acts as a proxy for attacker-specified requests without validating destination addresses. The scope change (S:C) in the CVSS vector indicates the vulnerable component can impact resources beyond its security scope, enabling attackers to pivot from the application layer to infrastructure components like databases and cloud metadata services at 169.254.169.254.
Know when Fastgpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
FastGPT is an AI Agent building platform. Prior to version 4.14.9.5, FastGPT's MCP (Model Context Protocol) tools endpoints (/api/core/app/mcpTools/getTools and /api/core/app/mcpTools/runTool) accept a user-supplied URL parameter and make server-side HTTP requests to it without validating whether the URL points to an internal/private network address. Although the application has a dedicated isInternalAddress() function for SSRF protection (used in other endpoints like the HTTP workflow node), the MCP tools endpoints do not call this function. An authenticated attacker can use these endpoints to scan internal networks, access cloud metadata services, and interact with internal services such as MongoDB and Redis. This issue has been patched in version 4.14.9.5.
Executive ViewAI
FastGPT versions prior to 4.14.9.5 contain a Server-Side Request Forgery vulnerability in Model Context Protocol tools that allows authenticated users to access internal networks, cloud credential services, and backend databases, creating risk of lateral movement and data exfiltration across connected infrastructure. Organizations running FastGPT must patch immediately to prevent credential compromise and unauthorized database access.
Apply vendor patch. If immediate patching unavailable: (1) Restrict FastGPT server network egress using firewall rules to block access to 169.254.169.254 (AWS/GCP metadata), internal database ports (27017 for MongoDB, 6379 for Redis), and RFC 1918 ranges; (2) Implement network segmentation isolating FastGPT from backend systems; (3) Monitor egress traffic from FastGPT for unauthorized connection attempts; (4) Disable or restrict MCP tools functionality until patch applied; (5) Review and revoke credentials accessible to FastGPT service account.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Related Vulnerabilities in FastGPT Authentication and SSRF Flaws
View all 2FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t
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
Channel hijack and denial of service in FastGPT (labring/FastGPT) before 4.15.2 lets an unauthenticated remote attacker
GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request
Authentication bypass in FastGPT 4.15.0-beta4 lets unauthenticated remote attackers forge JWTs and access internal plugi
NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th
FastGPT versions 4.14.8.3 and below contain a critical arbitrary code execution vulnerability in the fastgpt-preview-ima
Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by
Cross-tenant data disclosure in FastGPT 4.14.17 through 4.15.0-beta5 lets a low-privileged tenant user read another tena
Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI
EUVD-2026-17447
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB