Cocotais Bot has builtin .echo command injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cocotais | cocotais-bot | 1.5.0-test2-hotfix to before 1.6.2 | 1.6.2 | Patch available | CNA |
| — | cocotais-bot (npm) | 1.5.0-test2-hotfix to before 1.6.2 | 1.6.2 | Patch available | GHSA-mj2c-8hxf-ffvq |
- cocotais-bot Vendorcocotais Affected 1.5.0-test2-hotfix to before 1.6.2 Fixed in 1.6.2 Patch available CNA
- cocotais-bot (npm) Vendor— Affected 1.5.0-test2-hotfix to before 1.6.2 Fixed in 1.6.2 Patch available GHSA-mj2c-8hxf-ffvq
Remediation
- Fix · CNA cocotais-bot (cocotais) Fixed in 1.6.2
- Fix · GHSA-mj2c-8hxf-ffvq cocotais-bot (npm) Fixed in 1.6.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-47948
- 2026-10-03 Alias added: GHSA-mj2c-8hxf-ffvq
References
Sources
- CVE-2025-47948 · CVE Program
- CVE-2025-47948 · NVD
- FIRST EPSS
- GHSA-mj2c-8hxf-ffvq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences