Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-30861 EUVD-2026-10184GHSA-r55h-3rwj-hcmgGO-2026-4645

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

Published Mar 7, 2026 · Updated Mar 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Tencent WeKnora >= 0.2.5, < 0.2.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/Tencent/WeKnora >= 0.2.5, < 0.2.10 0.2.10 GHSA-r55h-3rwj-hcmg
Go github.com/Tencent/WeKnora >= 0.2.6, < 0.2.10 0.2.10 GO-2026-4645

Advisories 2

References