Impact
Fast‑mcp‑telegram creates a session file path by concatenating the raw Bearer token string, and it rejects the token string 'telegram' but does not reject path separators or normalize the path before checking whether the session file exists. This permits an attacker to 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, bypassing reserved session name controls and enabling unauthorized access to default MCP session tools. The weakness corresponds to CWE‑22 and CWE‑287.
Affected Systems
The affected product is fast‑mcp‑telegram released by leshchenko1979. Versions earlier than 0.19.1 validate Bearer tokens insecurely and are vulnerable. Users running any version prior to update to 0.19.1 or later must consider this vulnerability.
Risk and Exploitability
The vulnerability has a CVSS score of 9.4, indicating high‑severity remote exploitability. The EPSS score of < 1 % suggests a low but non‑zero probability of exploitation, and the absence of a KEV listing does not lessen the risk. Attackers need only a remote HTTP client capable of sending a crafted bearer token containing path traversal characters; no local privileges are required. Successful exploitation allows impersonation of the default session and unprivileged use of legacy MCP tools, potentially enabling data exfiltration or unsupported command execution.
OpenCVE Enrichment
Github GHSA