7.1high
SSRF via DNS-resolution gap in _validate_url_security (file download by URL)
- Severity
- 7.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.36% (higher than 22% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
fast-mcp-telegram is a Telegram MCP Server. Prior to version 30.1, the send_message/send_message_to_phone MCP tools accept files as a list of http(s) URLs, which the server downloads and attaches to the outgoing Telegram message. Downloads are guarded by _validate_url_security, an SSRF denylist that checks the URL's literal hostname string but never resolves DNS. The fetch (httpx.AsyncClient.get) does its own resolution at request time. Consequently a hostname that resolves to a loopback / private / link-local address passes the guard and is fetched — even with the secure defaults block_private_ips=True and allow_http_urls=False. Because the fetched body is returned to the attacker as a Telegram file attachment, this is a full-read, exfiltrating SSRF, not blind. This issue has been patched in version 30.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| leshchenko1979 fast-mcp-telegram | < 30.1 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55096 changed 2026-10-01 | CVE Terms of Use |
| NVD | CVE-2026-55096 changed 2026-10-01 | Public domain |