Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain authenticated MCP tool access
-
DeliveryRegister attacker domain resolving to internal IP
-
ExploitCall send_message with file URL
-
ExecutionString-only denylist passes, httpx resolves to loopback/metadata
-
PersistServer fetches internal resource
-
ImpactResponse returned as Telegram attachment exfiltrates data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Requires the ability to invoke the send_message or send_message_to_phone MCP tools (an authenticated/authorized MCP client session, i.e. PR:L) on fast-mcp-telegram prior to version 30.1, and the attacker must control a hostname whose DNS resolves to a loopback/private/link-local address. Exploitation succeeds even under the secure defaults block_private_ips=True and allow_http_urls=False, because the flaw is in _validate_url_security checking only the literal hostname string; note that using a raw private-IP literal is still blocked by the existing string check, so the attacker must use a resolving domain name. Limiting factors: the tool interface must be reachable by the attacker, and only http(s) URL fetches (GET) are performed, bounding impact to read/exfiltration of GET-reachable internal endpoints. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N, base 7.1) describes a network-reachable, low-complexity flaw requiring low privileges - here, an authenticated MCP client session able to invoke the send_message/send_message_to_phone tools. There is no CISA KEV listing and no EPSS score in the input, so there is no evidence of active exploitation; per precision rules this is 'no public exploit identified at time of analysis,' though a fixing commit and unit tests demonstrating the bypass are public (GHSA-xr72-j7vj-vp7g, commit e6b3032), which materially lowers the barrier to writing a working exploit. The technical impact is real and above-average for an SSRF: because the fetched response body is returned to the attacker as a Telegram file attachment, this is a full-read (non-blind) exfiltrating SSRF that defeats the secure defaults block_private_ips=True and allow_http_urls=False. The root cause is a classic denylist gap (CWE-184): _validate_url_security inspects the literal hostname string but never resolves DNS, while httpx resolves at fetch time - an attacker-controlled domain resolving to loopback/private/link-local addresses passes the guard. Real-world priority is tempered mainly by product prevalence (an obscure MCP server) and the PR:L authentication requirement, not by the severity of the primitive itself. No signals conflict; the chief missing data are EPSS and any in-the-wild telemetry. |
| Exploit ScenarioDerived | An attacker with access to the Telegram MCP tool interface calls send_message with files set to a URL like https://evil.example/x whose DNS record points at 127.0.0.1, 169.254.169.254 (cloud metadata), or an internal RFC1918 host. The denylist passes because it only checks the hostname string, httpx then resolves and fetches the internal target, and the response body is delivered back to the attacker as a Telegram attachment, exfiltrating internal data. No weaponized exploit is published, but the patch commit and its unit tests publicly document the exact bypass technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Server-side request forgery in fast-mcp-telegram prior to version 30.1 allows an authenticated MCP client (CVSS PR:L) to make the server fetch arbitrary internal HTTP(S) endpoints and receive the response body back as a Telegram file attachment. The send_message and send_message_to_phone tools accept URL lists that the server downloads via httpx.AsyncClient.get, but the _validate_url_security guard only inspects the literal hostname string and never resolves DNS, so any attacker-controlled domain that resolves to a loopback, private, or link-local address passes validation - even with the secure defaults block_private_ips=True and allow_http_urls=False. Because the fetched content is exfiltrated through the Telegram attachment rather than merely observed, this is a full-read SSRF; exploitation requires an authorized MCP session and a resolving hostname (raw private-IP literals remain blocked), and no public exploit code was identified at time of analysis.
RemediationAI
Upgrade to the vendor-released fixed version 30.1 of fast-mcp-telegram (the corresponding release tag is 0.30.1, and the upstream patch is commit e6b3032cfc906e14f5b84f2c2b8ec378eb457e57), which adds DNS resolution of the target hostname and rejects any address that is loopback, private, or link-local before the fetch occurs; see the advisory https://github.com/leshchenko1979/fast-mcp-telegram/security/advisories/GHSA-xr72-j7vj-vp7g. If immediate upgrade is not possible, the most effective compensating controls are to stop passing attacker-influenced URLs to these tools - disable or restrict the file-URL attachment feature of send_message/send_message_to_phone, accepting loss of the remote-attachment capability, and/or limit which MCP clients can invoke those tools, since the flaw requires an authenticated session (trade-off: reduces integration functionality for legitimate users). Egress-level filtering on the host or container running the MCP server - denying outbound connections to 127.0.0.0/8, ::1, RFC1918 ranges, 169.254.0.0/16, and cloud metadata endpoints such as 169.254.169.254 - provides defense in depth but can break legitimate fetches from internal mirrors and does not protect against DNS rebinding; note that because validation resolves DNS at check time while httpx re-resolves at fetch time, operators should also consider pinning the resolved IP or enforcing egress policy to close any residual TOCTOU/rebinding window. No vendor-released patch for versions below 30.1 is identified; upgrading is the only confirmed fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
fast-mcp-telegram is a Model Context Protocol (MCP) server that bridges LLM tooling to the Telegram Bot API, exposing tools such as send_message and send_message_to_phone that accept a list of http(s) URLs as file attachments. When such a URL is supplied, the server's helper _validate_url_security performs a denylist check against the URL's literal hostname string (matching entries like localhost, 127.0.0.1, 169.254.169.254, metadata.google.internal, and, when block_private_ips is set, string forms of RFC1918/link-local ranges), then hands the URL to httpx.AsyncClient.get, which performs its own DNS resolution at request time. The mapping to CWE-184 (Incomplete List of Disallowed Inputs) captures the root cause precisely: the guard is a string-based denylist that is blind to DNS indirection, so a hostname such as attacker.example that resolves to 127.0.0.1 or 10.0.0.5 is never compared against the blocked IP ranges. The upstream fix (commit e6b3032cfc906e14f5b84f2c2b8ec378eb457e57, src/tools/messages/security.py) adds socket.getaddrinfo resolution with a 5-second DNS timeout and validates every returned address with ipaddress (is_loopback, is_private, is_link_local), deduplicating IPs before checking. Because the downloaded body is returned to the caller as a Telegram file attachment, the primitive is an exfiltrating rather than blind SSRF.
Know when Mcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Network-reachable tool needing an authorized MCP session (PR:L), no user interaction; full-read SSRF yields C:H, GET-only requests to internal endpoints give at most I:L, no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
Advisory: GHSA-xr72-j7vj-vp7g (HIGH, CVSS 3.1 7.1, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A server-side request forgery flaw in fast-mcp-telegram (versions prior to 30.1) allows an authenticated MCP client to turn the deployment into a proxy for reading internal HTTP services, with retrieved content delivered back through Telegram file attachments rather than merely inferred. Organizations running this integration in cloud or corporate networks should treat any internal-only endpoint reachable from the host - cloud metadata services, admin panels, orchestration APIs - as potentially readable by any party holding valid MCP credentials. Because access requires an authorized session, the primary exposure is trusted-insider, compromised-credential, or over-permissioned integration risk rather than anonymous internet attack.
No vendor-released patch identified at time of analysis. Interim mitigations: enforce egress filtering so the MCP host cannot reach loopback, RFC1918, or link-local addresses; block access to cloud instance metadata endpoints; restrict MCP clients to an allowlist with short-lived, least-privilege credentials; terminate or proxy the integration behind a fetch service that resolves hostnames and validates destination IPs; and monitor tool invocations for internal-targeted URLs as a detection control.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Path traversal in the create_file tool served by the 03-lovepreetSingh MCP application's /api/mcp route lets remote, una
Authenticated attackers holding Subscriber-level (or higher) WordPress accounts can escalate themselves to Administrator
Arbitrary file write outside indexed repository roots in Gortex, an MCP code-intelligence server, affects all versions p
Unauthenticated arbitrary file read in Code Graph RAG (the code-graph-rag package) affects all versions prior to 0.0.345
Path traversal through dangling symlinks in anshupriyan CLI Bridge prior to 0.0.2 lets attackers who can drive the write
OS command injection in the Git Remove MCP Tool of 0xshariq github-mcp-server (all revisions up to commit 52e764a7d66eac
OS command injection in mbailey VoiceMode through version 8.10.1 lets an authenticated local attacker who can reach the
A directory traversal flaw in mark3labs mcp-filesystem-server v0.11.1 lets a caller write files outside the server's con
The DOMShell MCP server before 2.0.8 misclassifies its domshell_eval tool as read-tier, allowing an MCP caller with tool
EUVD-2026-88377
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB