WeKnora: Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/Tencent/WeKnoraGo | >= 0.2.5, < 0.2.10 | 0.2.10 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/tencent/weknorapkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
>= 0.2.5, < 0.2.10+ 1 more
- (no CPE)range: >= 0.2.5, < 0.2.10
- (no CPE)range: < 0.0.20260317T205859-150000.1.152.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-r55h-3rwj-hcmgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-30861ghsaADVISORY
- github.com/Tencent/WeKnora/commit/57d6fea8bc265ad28b385e0158957c870cff4b50ghsaWEB
- github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmgghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.