{"id":"CVE-2026-52830","published":"2026-07-02T20:39:35Z","modified":"2026-07-06T14:36:02Z","title":"fast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protection","vendor":"leshchenko1979","product":"fast-mcp-telegram","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00648,"percentile":0.51997,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://web.archive.org/web/20250926152207/https://github.com/leshchenko1979/fast-mcp-telegram","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/advisories/GHSA-rxw2-pc8j-vxwm","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":10.4},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"leshchenko1979","affectedVersions":[{"vendor":"leshchenko1979","product":"fast-mcp-telegram","versions":["< 0.19.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-06T14:35:51.099192Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"fast-mcp-telegram","vulnerableRanges":["<0.19.1"],"patched":["0.19.1"],"from":["GHSA-rxw2-pc8j-vxwm","PYSEC-2026-2473"],"provenance":"source"}],"summary":{"text":"The fast-mcp-telegram Telegram MCP Server, prior to 0.19.1, validates HTTP Bearer tokens by joining the raw token into a session-file path without rejecting path separators or normalizing the path, so a token containing traversal sequences can reference the default legacy session file. A remote HTTP client that can reach the server needs no prior authentication or user interaction, only a traversal token such as one pointing at the default session file, in order to authenticate as the default account and call its tools, bypassing the reserved session name protection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:39Z"},"euvd":{"id":"EUVD-2026-41438","exploited":false,"provenance":"source"}}