Skip to main content

Fastgpt CVE-2026-34163

| EUVDEUVD-2026-17447 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-31 GitHub_M
7.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to FastGPT application
  2. Delivery
    Send crafted request to /api/core/app/mcpTools/runTool
  3. Exploit
    Provide internal network URL parameter
  4. Execution
    Server makes unvalidated HTTP request
  5. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FastGPT < 4.14.9.5

Affected Packages

euvd fastgpt fix: 4.14.9.5

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

NVD PRIMARY 7.7 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:10 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
4.14.9.5
CVE Published
Mar 31, 2026 - 13:43 nvd
HIGH 7.7

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2
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-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-68929 CRITICAL
9.3 Aug 27

Channel hijack and denial of service in FastGPT (labring/FastGPT) before 4.15.2 lets an unauthenticated remote attacker

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-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-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-33075 HIGH
8.8 Mar 20

FastGPT versions 4.14.8.3 and below contain a critical arbitrary code execution vulnerability in the fastgpt-preview-ima

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-61644 HIGH
7.7 Jul 15

Cross-tenant data disclosure in FastGPT 4.14.17 through 4.15.0-beta5 lets a low-privileged tenant user read another tena

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

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