Skip to main content
← All vulnerabilities
CVE-2026-52830PYSEC-2026-2473GHSA-RXW2-PC8J-VXWM

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.19.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • leshchenko1979 fast-mcp-telegram

    fixed in 0.19.1

  • fast-mcp-telegramPyPI

    fixed in 0.19.1

References 2

web.archive.org

GitHub Advisory Database