Skip to content

CVE-2026-30861 WeKnora: Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation

HighCVSS 8.8 EPSS 2.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Tencent github.com/Tencent/WeKnora = >= 0.2.5, < 0.2.10; >= 0.2.5, < 0.2.10 0.2.10 Fixed
Tencent github.com/Tencent/WeKnora(Go) >= 0.2.5, < 0.2.10; >= 0.2.6, < 0.2.10 0.2.10 Fixed

Affected products

ProductAffected versionsFixed in
Tencent github.com/Tencent/WeKnora(Go) >= 0.2.5, < 0.2.10 0.2.10
Tencent github.com/Tencent/WeKnora(Go) >= 0.2.6, < 0.2.10 0.2.10
Tencent github.com/Tencent/WeKnora = >= 0.2.5, < 0.2.10 No fix listed
Tencent github.com/Tencent/WeKnora >= 0.2.5, < 0.2.10 0.2.10

References