The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34163

CVE-2026-34163: Fastgpt Fastgpt SSRF Vulnerability

CVE-2026-34163 is a server-side request forgery flaw in Fastgpt Fastgpt that allows authenticated attackers to scan internal networks and access cloud metadata services. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 2, 2026

CVE-2026-34163 Overview

CVE-2026-34163 is a Server-Side Request Forgery (SSRF) vulnerability affecting FastGPT, an AI Agent building platform. Prior to version 4.14.9.5, FastGPT's Model Context Protocol (MCP) tools endpoints (/api/core/app/mcpTools/getTools and /api/core/app/mcpTools/runTool) accept user-supplied URL parameters and make server-side HTTP requests without validating whether the URL points to internal or private network addresses.

The vulnerability arises from an inconsistency in security controls: while FastGPT implements a dedicated isInternalAddress() function for SSRF protection in other endpoints (such as the HTTP workflow node), the MCP tools endpoints fail to invoke this protective function. This allows authenticated attackers to abuse these endpoints for internal network reconnaissance, cloud metadata service access, and interaction with internal services.

Critical Impact

Authenticated attackers can exploit this SSRF vulnerability to scan internal networks, access cloud metadata services (such as AWS IMDSv1), and interact with internal services including MongoDB and Redis, potentially exposing sensitive credentials and internal infrastructure details.

Affected Products

  • FastGPT versions prior to 4.14.9.5
  • FastGPT MCP Tools API endpoints (/api/core/app/mcpTools/getTools)
  • FastGPT MCP Tools API endpoints (/api/core/app/mcpTools/runTool)

Discovery Timeline

  • 2026-03-31 - CVE-2026-34163 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34163

Vulnerability Analysis

This SSRF vulnerability (CWE-918) exists due to missing input validation on URL parameters in the MCP tools endpoints. The vulnerability is particularly notable because the codebase already contains protective measures for SSRF in other areas of the application—the isInternalAddress() function exists and is actively used to validate URLs in the HTTP workflow node. However, this same protection was not applied to the MCP tools endpoints, creating an exploitable inconsistency.

The attack requires authentication, meaning an attacker must have valid credentials to access the vulnerable endpoints. Once authenticated, the attacker can supply arbitrary URLs that the server will fetch, effectively turning the FastGPT server into a proxy for accessing internal resources that would otherwise be unreachable from external networks.

Root Cause

The root cause is the failure to apply consistent SSRF protections across all endpoints that process user-supplied URLs. The MCP tools endpoints (getTools and runTool) were implemented without calling the existing isInternalAddress() validation function, despite this protection being available and used elsewhere in the codebase. This represents a defense-in-depth failure where security controls were not uniformly applied during development.

Attack Vector

An authenticated attacker can exploit this vulnerability via network-based requests to the MCP tools API endpoints. The attack flow involves:

  1. Authenticating to the FastGPT application with valid credentials
  2. Sending requests to /api/core/app/mcpTools/getTools or /api/core/app/mcpTools/runTool with malicious URL parameters
  3. Targeting internal addresses such as http://169.254.169.254/latest/meta-data/ (AWS metadata), http://localhost:27017 (MongoDB), or http://127.0.0.1:6379 (Redis)
  4. Receiving the server-side response, which may contain sensitive internal data

The security patch adds the missing isInternalAddress() check to the MCP tools endpoints:

typescript
import {
  type GetMcpToolsBodyType,
  type GetMcpToolsResponseType
} from '@fastgpt/global/openapi/core/app/mcpTools/api';
import { isInternalAddress, PRIVATE_URL_TEXT } from '@fastgpt/service/common/system/utils';

async function handler(
  req: ApiRequestProps<GetMcpToolsBodyType>,
  _res: ApiResponseType<any>
): Promise<GetMcpToolsResponseType> {
  const { url, headerSecret } = GetMcpToolsBodySchema.parse(req.body);

  if (await isInternalAddress(url)) {
    return Promise.reject(PRIVATE_URL_TEXT);
  }

  const mcpClient = new MCPClient({
    url,
    headers: getSecretValue({

Source: GitHub Commit bc7eae2e

Detection Methods for CVE-2026-34163

Indicators of Compromise

  • Unusual outbound requests from the FastGPT server to internal IP ranges (10.x.x.x, 172.16.x.x-172.31.x.x, 192.168.x.x)
  • HTTP requests to cloud metadata endpoints (169.254.169.254) originating from the FastGPT application
  • Unexpected connections to internal services such as MongoDB (port 27017) or Redis (port 6379) from the web application
  • Anomalous API calls to /api/core/app/mcpTools/getTools or /api/core/app/mcpTools/runTool with internal or localhost URLs

Detection Strategies

  • Monitor web application logs for requests to MCP tools endpoints containing internal IP addresses or localhost references
  • Implement network segmentation monitoring to detect unauthorized lateral movement attempts from web application servers
  • Deploy web application firewall (WAF) rules to inspect URL parameters in API requests for SSRF patterns
  • Enable cloud metadata service logging (IMDSv2 enforcement) to detect unauthorized metadata access attempts

Monitoring Recommendations

  • Configure alerts for outbound connections from FastGPT servers to RFC 1918 private address ranges
  • Implement DNS query logging to detect resolution attempts for internal hostnames from web application servers
  • Monitor authentication logs for accounts making high volumes of MCP tools API requests
  • Set up anomaly detection for unusual response sizes or timing patterns from the MCP tools endpoints

How to Mitigate CVE-2026-34163

Immediate Actions Required

  • Upgrade FastGPT to version 4.14.9.5 or later immediately
  • Audit access logs for any historical exploitation attempts against the MCP tools endpoints
  • Review any accounts that have accessed /api/core/app/mcpTools/getTools or /api/core/app/mcpTools/runTool endpoints
  • Rotate credentials for internal services (MongoDB, Redis) if exploitation is suspected

Patch Information

FastGPT has released version 4.14.9.5 which addresses this vulnerability by adding the isInternalAddress() validation check to the MCP tools endpoints. The fix is available through:

  • GitHub Release v4.14.9.5
  • GitHub Security Advisory GHSA-x9vj-5m4j-9mfv
  • GitHub Pull Request #6640

Workarounds

  • If immediate patching is not possible, implement network-level restrictions to prevent the FastGPT server from making outbound connections to internal services
  • Deploy a reverse proxy or WAF rule to block requests to MCP tools endpoints containing internal IP addresses or metadata service URLs
  • Restrict access to the MCP tools API endpoints to only trusted administrative users until the patch can be applied
  • Enable IMDSv2 with hop limit of 1 on cloud instances to mitigate metadata service access
bash
# Example: Block internal IP ranges at the network level (iptables)
# Apply on FastGPT server to prevent SSRF to internal services
iptables -A OUTPUT -d 169.254.169.254 -j DROP
iptables -A OUTPUT -d 10.0.0.0/8 -j DROP
iptables -A OUTPUT -d 172.16.0.0/12 -j DROP
iptables -A OUTPUT -d 192.168.0.0/16 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechFastgpt

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Release v4.14.9.5
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Pull Request Review

  • GitHub Security Advisory GHSA-x9vj-5m4j-9mfv
  • Related CVEs
  • CVE-2026-34162: FastGPT Auth Bypass Vulnerability

  • CVE-2026-33075: Fastgpt Fastgpt RCE Vulnerability

  • CVE-2026-32128: FastGPT Privilege Escalation Vulnerability

  • CVE-2026-26075: FastGPT CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English