Skip to content

CVE-2025-47948 Cocotais Bot has builtin .echo command injection

HighCVSS 7.2 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Cocotais Bot is a QQ official robot framework based on qq-bot-sdk. Starting in version 1.5.0-test2-hotfix and prior to version 1.6.2, command echoing feature in the framework allows users to indirectly trigger privileged behavior by injecting special platform tags. Specifically, an unauthorized user can use the /echo <qqbot-at-everyone /> command to cause the bot to send a message that mentions all members in the chat, bypassing any permission controls. This can lead to spam, disruption, or abuse of notification systems. Version 1.6.2 contains a patch for the issue.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm cocotais-bot(npm) >= 1.5.0-test2-hotfix, < 1.6.2 1.6.2 Fixed
cocotais-bot = >= 1.5.0-test2-hotfix, < 1.6.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm cocotais-bot(npm) >= 1.5.0-test2-hotfix, < 1.6.2 1.6.2
cocotais-bot = >= 1.5.0-test2-hotfix, < 1.6.2 No fix listed

References