Security mailing lists by PureSourceCode

CVE-2026-52830

CRITICAL 9.4CVSS 3.1

fast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protection

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.

Published
2 Jul 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22CWE-287
Also known as
GHSA-rxw2-pc8j-vxwmPYSEC-2026-2473
Sources
NVDJSONOSV GHSA-rxw2-pc8j-vxwmJSONOSV PYSEC-2026-2473JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
OSV GitHub CVSS 3.1 CRITICAL 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
OSV PyPA CVSS 3.1 CRITICAL 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI fast-mcp-telegram < 0.19.1 0.19.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 2 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.