Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M
CVE-2026-34163Server-Side Request Forgery via MCP Tools Endpoint in FastGPT
High 7.7
In plain English
A high-severity server-side request forgery in FastGPT from labring. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/labring/FastGPT/security/advisories/GHSA-x9vj-5m4j-9mfv x_refsource_CONFIRM
- https://github.com/labring/FastGPT/pull/6640 x_refsource_MISC
- https://github.com/labring/FastGPT/commit/bc7eae2ed61481a5e322208829be291faec58c00 x_refsource_MISC
- https://github.com/labring/FastGPT/releases/tag/v4.14.9.5 x_refsource_MISC