CVE-2026-52830

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.
Configurations

No configuration.

History

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) fast-mcp-telegram es un servidor MCP de Telegram. Antes de la versión 0.19.1, fast-mcp-telegram valida los tokens Bearer HTTP uniendo la cadena de token en bruto en una ruta de archivo de sesión. El verificador rechaza el token reservado exacto ’telegram’, pero no rechaza los separadores de ruta ni normaliza la ruta antes de verificar si el archivo de sesión existe. Un cliente HTTP remoto puede, por lo tanto, autenticarse como la sesión heredada predeterminada con un token como .. / fast-mcp-telegram/telegram cuando el archivo de sesión predeterminado documentado ~/.config/fast-mcp-telegram/telegram.session existe. Esto elude el control de nombre de sesión reservado que está destinado a evitar que las sesiones multiusuario HTTP colisionen con la cuenta stdio predeterminada o heredada. Con las herramientas MCP con prefijo de cuenta habilitadas, el atacante todavía ve y llama a las herramientas con prefijo para la cuenta predeterminada, por lo que el middleware de prefijo no detiene la elusión de la selección de sesión. Esta vulnerabilidad se corrige en la versión 0.19.1.

Information

Published : 2026-07-02 21:16

Updated : 2026-10-25 21:10


NVD link : CVE-2026-52830

Mitre link : CVE-2026-52830

CVE.ORG link : CVE-2026-52830


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-287

Improper Authentication