🟡 [MEDIUM] CB-016: Telegram Auto-Adds Unknown Groups #25
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Security Finding from Audit
Severity
MEDIUM 🟡
CVSS Score
N/A
CWE
CWE-862 (Missing Authorization)
Location
telegram/plugin.py, poll_updates()Description
Any Telegram group that messages the bot is automatically added to the active groups list:
self._groups[chat_id] = GroupConfig(...)This means anyone who adds the bot to a group gains access to the agent, bypassing the intended group whitelist configuration. While the pairing plugin provides user-level auth, the auto-add behavior expands the attack surface.
Recommendation
Only process messages from explicitly configured groups. Log and ignore messages from unknown groups.
From: Cobot Whitebox Security Audit (February 14, 2026)
Finding ID: CB-016