Cocotais Bot has builtin .echo command injection
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 ` 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-47948
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:51 UTC · Revision 1
Source evidence
Cocotais Bot has builtin .echo command injection
core-osv · Original sourcePublished 17 May 2025, 18:42 UTC
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 ` 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.
osv:CVE-2025-47948
Complete source record
{
"id": "b80c20bb8f5f3faeb1c8313eabe0fa9b230af03c7311f69e6f2e7b0e814281fd",
"url": "https://osv.dev/vulnerability/CVE-2025-47948",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Cocotais Bot has builtin .echo command injection",
"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 ` 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.",
"evidence": "osv:CVE-2025-47948",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-47948",
"aliases": [
"CVE-2025-47948",
"GHSA-mj2c-8hxf-ffvq"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cocotais/cocotais-bot",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "155baf9fbe44875c4e129410c8cd20f5c2da7b18"
},
{
"fixed": "d1cf01a9a41b3131241d1833444b890c8d6e70b8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.5.0-test2-hotfix"
},
{
"fixed": "1.6.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "d1cf01a9a41b3131241d1833444b890c8d6e70b8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.6.1",
"v1.6.0",
"v1.5.7",
"v1.5.6",
"v1.5.5",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.3",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.4.0-5",
"v1.4.0-4",
"v1.4.0-3",
"v1.4.0-2",
"v1.4.0-1",
"v1.4.0-0",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.2.0-0",
"v1.1.2",
"v1.1.1",
"v1.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47948.json"
}
}
],
"modified": "2026-10-28T02:30:35.826792600Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47948.json",
"https://github.com/cocotais/cocotais-bot/security/advisories/GHSA-mj2c-8hxf-ffvq",
"https://nvd.nist.gov/vuln/detail/CVE-2025-47948",
"https://github.com/cocotais/cocotais-bot/commit/d1cf01a9a41b3131241d1833444b890c8d6e70b8"
],
"provider_metadata": {
"cwe_ids": [
"CWE-74"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47948.json"
}
},
"related_cves": [
{
"value": "CVE-2025-47948",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503314,
"published_at": "2025-05-17T18:42:24.382+00:00"
}