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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/cocotais/cocotais-bot/security/advisories/GHSA-mj2c-8hxf-ffvq exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/cocotais/cocotais-bot/commit/d1cf01a9a41b3131241d1833444b890c8d6e70b8 patch
- github.com
- github.com product