Skip to main content

fast-mcp-telegram CVE-2026-55096

| EUVDEUVD-2026-88377 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-09-28 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain authenticated MCP tool access
  2. Delivery
    Register attacker domain resolving to internal IP
  3. Exploit
    Call send_message with file URL
  4. Execution
    String-only denylist passes, httpx resolves to loopback/metadata
  5. Persist
    Server fetches internal resource
  6. Impact
    Response 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

fast-mcp-telegram < 30.1

Affected Packages

euvd fast_mcp_telegram fix: 30.1

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

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 7.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Sep 28, 2026 - 18:01 EUVD
CVE Published
Sep 28, 2026 - 16:38 cve.org
HIGH 7.1

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Rare
Niche single-maintainer open-source Telegram MCP server, negligible enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Mcp

View all

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy