CVE-2026-141285: Telegram channels can be connected to another organization's chat, letting the shared bot post into it
All Telegram channels of an instance are published through one bot, and a connected Telegram channel is the id of a chat the bot is in. The dashboard asks the user to post a connect command in the chat to prove control of it, but the server kept no record of that pairing. The connect request accepted any chat id or username, and the endpoint that looks up the pairing returned the chat id behind a connect word to any signed-in user who named the word.
A user could therefore add another organization's chat as a channel of their own organization, either by naming it directly or by replaying a connect word seen in the chat, and publish into it through the shared bot. The owner of the chat is not notified.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in v2.26.1
Event History
Frequently Asked Questions
Who can exploit this issue?
Any signed-in user who can submit a Telegram channel connection request can exploit it. They do not need to control the target chat if they know or can supply its chat ID or username, or if they can replay a connect word observed in that chat.
What is the impact of a successful exploit?
The attacker can add another organization's Telegram chat as a channel in their own organization and publish messages into that chat through the shared bot. The chat owner is not notified.
Does the normal connection verification protect against this?
No. Although the dashboard asks for a connect command to prove control, the server did not retain the pairing between that command and the intended chat, and accepted arbitrary chat IDs or usernames.
How can an organization determine whether it may be affected?
Review Telegram channel connections for chats that are not owned or expected by the organization, and review posts made through the shared Telegram bot. Connections created using unfamiliar chat IDs, usernames, or connect words should be treated as suspicious.
What version contains the fix?
The provided references include the v2.26.1 release and the fixing commit 186dd81cceb32b9900184b4ddac8bf771cc97f3d.