CVE-2026-52830leshchenko1979 fast-mcp-telegram
Critical 9.4 No auth needed
Follow: this CVE · leshchenko1979 · leshchenko1979 fast-mcp-telegram We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.4
- EPSS
- —
- Auth required
- No
- Published
- Jul 2, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for fast-mcp-telegram.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | fast-mcp-telegram |
< 0.19.1 |
0.19.1 |
pip install "fast-mcp-telegram>=0.19.1" |
| PyPI | fast-mcp-telegram |
< 0.19.1 |
0.19.1 |
pip install "fast-mcp-telegram>=0.19.1" |
Per OSV / GitHub Advisories (GHSA-rxw2-pc8j-vxwm, PYSEC-2026-2473). Check the version in your lockfile before upgrading.
Affected products
- leshchenko1979 · fast-mcp-telegram
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.