CVE-2026-52830
fast-mcp-telegram is a Telegram MCP Server. Prior to 0.19.1, …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/advisories/GHSA-rxw2-pc8j-vxwm
- web.archive.org/web/20250926152207/https://github.com/leshchenko1979/fast-mcp-telegram
- github.com/leshchenko1979/fast-mcp-telegram/security/advisories/GHSA-rxw2-pc8j-vxwm
- nvd.nist.gov/vuln/detail/CVE-2026-52830
- github.com/pypa/advisory-database/tree/main/vulns/fast-mcp-telegram/PYSEC-2026-2473.yaml
- pypi.org/project/fast-mcp-telegram
- nvd.nist.gov/vuln/detail/CVE-2026-52830
- cve.org/CVERecord?id=CVE-2026-52830
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.