Auth bypass in Leshchenko1979 Fast-Mcp-Telegram
CVE-2026-52830
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.005 (42.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.4 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.
Affected products
- Leshchenko1979 Fast-mcp-telegram — versions < 0.19.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM)
Frequently asked questions
- What is CVE-2026-52830?
- CVE-2026-52830 is a critical-severity vulnerability in Leshchenko1979 Fast-Mcp-Telegram, classified under Path Traversal. CVSS score: 9.4/10. Published 2026-07-02.
- How severe is CVE-2026-52830?
- Critical severity. CVSS v3 base score is 9.4 out of 10.