CVE-2026-30861
HIGH 8.8CVSS 3.1WeKnora has Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation
WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. From version 0.2.5 to before version 0.2.10, an unauthenticated remote code execution (RCE) vulnerability exists in the MCP stdio configuration validation. The application allows unrestricted user registration, meaning any attacker can create an account and exploit the command injection flaw. Despite implementing a whitelist for allowed commands (npx, uvx) and blacklists for dangerous arguments and environment variables, the validation can be bypassed using the -p flag with npx node. This allows any attacker to execute arbitrary commands with the application's privileges, leading to complete system compromise. This issue has been patched in version 0.2.10.
- Published
- 7 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-r55h-3rwj-hcmgGO-2026-4645
- Sources
- NVDJSONOSV GHSA-r55h-3rwj-hcmgJSONOSV GO-2026-4645JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tencent | weknoracpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:* |
>= 0.2.5, < 0.2.10 | 0.2.10 |
| OSV | Go | github.com/Tencent/WeKnora | >= 0.2.5, < 0.2.10 | 0.2.10 |
| OSV | Go | github.com/Tencent/WeKnora | >= 0.2.6, < 0.2.10 | 0.2.10 |
References
- https://github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmg · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-30861 · ADVISORY
- https://github.com/Tencent/WeKnora/commit/57d6fea8bc265ad28b385e0158957c870cff4b50 · WEB, FIX
- https://github.com/Tencent/WeKnora · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 7 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Mar 2026)