CRITICAL🇵🇱 Wersja polska

CVE-2026-30861

CVSS 9.9v3.1pub. 2026-03-07upd. 2026-03-09

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 Analysis
How it works

The WeKnora application implements a validation mechanism for the MCP stdio protocol configuration, which includes a whitelist of allowed commands (npx, uvx) and blacklists of dangerous arguments and environment variables. However, the validation can be bypassed by passing the -p flag in combination with the npx node command, which allows injection and execution of arbitrary system commands. Since the application enables unrestricted user account registration, any attacker can create an account and immediately exploit this vulnerability without any additional privileges.

Impact

An attacker can execute arbitrary system commands with the privileges of the application process, leading to complete system compromise, including data theft, malware installation, or further lateral movement in the network.

Mitigation & patch

WeKnora should be updated to version 0.2.10 or later, in which the issue has been fixed. Details are available in the official security advisory from the vendor: https://github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmg

Who is affected

Tencent WeKnora in versions 0.2.5 to 0.2.9 (inclusive)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Tencent Weknora

    APP
    Tencent
    0.2.5 – 0.2.10 (bez)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCECommand Injection
CWE
References

Related vulnerabilities

CVE-2026-30860CRITICAL9.9PL ✓ten sam produkt

RCE przez SQL Injection w Tencent WeKnora (bypass walidacji wyrażeń PostgreSQL)

CVE-2026-22688CRITICAL9.9PL ✓ten sam produkt

Command injection w Tencent WeKnora — wykonanie podprocesów przez MCP stdio

CVE-2026-30855HIGH8.8ten sam produkt

WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to ...

CVE-2026-30247MEDIUM5.9ten sam produkt

WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to ...

CVE-2026-30856MEDIUM5.9ten sam produkt

WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to ...