# CVE-2026-52830: fast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protection

- Severity: Critical 9.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-02T20:38:50.000Z
- Modified: 2026-10-25T21:10:00.770Z
- Also known as: GHSA-rxw2-pc8j-vxwm, PYSEC-2026-2473
- Weaknesses: CWE-22, CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- leshchenko1979 fast-mcp-telegram: < 0.19.1
- fast-mcp-telegram (PyPI): before 0.19.1

## Every score

- GitHub_M: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/advisories/GHSA-rxw2-pc8j-vxwm> (exploit, advisory)
- <https://web.archive.org/web/20250926152207/https://github.com/leshchenko1979/fast-mcp-telegram> (web)
- <https://github.com/leshchenko1979/fast-mcp-telegram/security/advisories/GHSA-rxw2-pc8j-vxwm> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52830> (advisory)
- <https://github.com/alexeyleshchenko/fast-mcp-telegram> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/fast-mcp-telegram/PYSEC-2026-2473.yaml> (web)
- <https://pypi.org/project/fast-mcp-telegram> (package, web)
- <https://github.com/leshchenko1979/fast-mcp-telegram> (package)

## Sources

- CVE List: [CVE-2026-52830](https://www.cve.org/CVERecord?id=CVE-2026-52830), CVE Terms of Use, modified 2026-07-06
- GitHub Advisory Database: [GHSA-rxw2-pc8j-vxwm](https://github.com/advisories/GHSA-rxw2-pc8j-vxwm), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-52830](https://nvd.nist.gov/vuln/detail/CVE-2026-52830), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2473](https://osv.dev/vulnerability/PYSEC-2026-2473), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-52830 · Whole record: https://cve.day/CVE-2026-52830.json · Rebuilt by cve.day 2026-11-25T22:59:27.058Z
