Read the docs
TI-2026-37938 Aliases CVE-2026-52830GHSA-rxw2-pc8j-vxwm

fast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protection

Priority HIGH 80CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

Summary

fast-mcp-telegram is a Telegram MCP Server. Prior to 0.19.1, fast-mcp-telegram validates HTTP Bearer tokens by joining the raw token string into a session-file path. The verifier rejects the exact reserved token telegram, but it does not reject path separators or normalize the path before checking whether the session file exists. A remote HTTP client can therefore authenticate as the default legacy session with a token such as ../fast-mcp-telegram/telegram when the documented default session file ~/.config/fast-mcp-telegram/telegram.session exists. This bypasses the reserved session name control that is intended to prevent HTTP multi-user sessions from colliding with the default stdio or legacy account. With account-prefixed MCP tools enabled, the attacker still sees and calls the prefixed tools for the default account, so the prefix middleware does not stop the session selection bypass. This vulnerability is fixed in 0.19.1.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00648 51st percentileScored 2026-11-07
Fix Fixed fast-mcp-telegram (leshchenko1979): 0.19.1fast-mcp-telegram (PyPI): 0.19.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
leshchenko1979fast-mcp-telegrambefore 0.19.10.19.1Patch availableCNA
—fast-mcp-telegram (PyPI)before 0.19.10.19.1Patch availableGHSA-rxw2-pc8j-vxwm
  • fast-mcp-telegram Vendorleshchenko1979 Affected before 0.19.1 Fixed in 0.19.1 Patch available CNA
  • fast-mcp-telegram (PyPI) Vendor— Affected before 0.19.1 Fixed in 0.19.1 Patch available GHSA-rxw2-pc8j-vxwm

Remediation

  • Fix · CNA fast-mcp-telegram (leshchenko1979) Fixed in 0.19.1
  • Fix · GHSA-rxw2-pc8j-vxwm fast-mcp-telegram (PyPI) Fixed in 0.19.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-52830
  2. 2026-10-03 Alias added: GHSA-rxw2-pc8j-vxwm
  3. 2026-10-18 EPSS moved to the 50th–90th percentile

References

  • TI-2026-39800 SSRF via DNS-resolution gap in _validate_url_security (file download by URL) CVSS 3.1HIGH 7.1

Sources