CVE-2026-34163 Server-Side Request Forgery via MCP Tools Endpoint in FastGPT
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fastgpt | < 4.14.9.5 | 4.14.9.5 | Fixed |
| labring FastGPT | = < 4.14.9.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| labring FastGPT | = < 4.14.9.5 | No fix listed |
| fastgpt | < 4.14.9.5 | 4.14.9.5 |
References
- https://github.com/labring/FastGPT/security/advisories/GHSA-x9vj-5m4j-9mfv exploit mitigation vendor-advisory
- https://github.com/labring/FastGPT/pull/6640 issue-tracking patch
- https://github.com/labring/FastGPT/commit/bc7eae2ed61481a5e322208829be291faec58c00 patch
- https://github.com/labring/FastGPT/releases/tag/v4.14.9.5 product release-notes