Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-30861: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Tencent WeKnora

0
Critical
VulnerabilityCVE-2026-30861cvecve-2026-30861cwe-78
Published: Sat Mar 07 2026 (03/07/2026, 16:38:38 UTC)
Source: CVE Database V5
Vendor/Project: Tencent
Product: WeKnora

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-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/14/2026, 20:02:03 UTC

Technical Analysis

Tencent WeKnora is an LLM-powered framework for deep document understanding and semantic retrieval. Versions 0.2.5 through 0.2.9 contain a critical OS command injection vulnerability (CVE-2026-30861) in the MCP stdio configuration validation component. The application permits unrestricted user registration, allowing any attacker to create an account without authentication. The vulnerability arises because the application attempts to restrict command execution by implementing a whitelist of allowed commands (notably 'npx' and 'uvx') and blacklists for dangerous arguments and environment variables. However, this validation is flawed and can be bypassed using the '-p' flag with 'npx node', enabling attackers to inject arbitrary OS commands. Exploiting this flaw allows execution of commands with the privileges of the WeKnora application, potentially leading to full system compromise, including confidentiality, integrity, and availability impacts. The vulnerability is rated with a CVSS 3.1 base score of 10.0, reflecting its critical nature, network attack vector, low attack complexity, no required privileges, no user interaction, and scope change. The issue was publicly disclosed on March 7, 2026, and patched in version 0.2.10. No known exploits have been reported in the wild yet. This vulnerability exemplifies the risks of improper input validation and command sanitization in software that executes system commands, especially when combined with open user registration.

Potential Impact

The impact of CVE-2026-30861 is severe for organizations deploying affected versions of Tencent WeKnora. An attacker can remotely execute arbitrary commands on the host system without authentication, leading to complete system takeover. This compromises confidentiality by exposing sensitive data, integrity by allowing unauthorized modifications, and availability by enabling destructive actions such as service disruption or ransomware deployment. Since WeKnora is designed for deep document understanding and semantic retrieval, it may be integrated into enterprise document management, research, or knowledge systems, making the data and services critical. The unrestricted user registration lowers the barrier for attackers, increasing the likelihood of exploitation. Organizations could face data breaches, operational downtime, and reputational damage. The critical CVSS score underscores the urgency of remediation. Although no exploits are currently known in the wild, the ease of exploitation and high impact make this a prime target for attackers once public details are widely available.

Mitigation Recommendations

1. Immediately upgrade Tencent WeKnora to version 0.2.10 or later, where the vulnerability is patched. 2. If upgrading is not immediately possible, restrict network access to the WeKnora application to trusted users only, using firewalls or network segmentation. 3. Implement additional application-layer controls to monitor and block suspicious command execution patterns, especially those involving 'npx' and the '-p' flag. 4. Enforce strong user registration controls, such as CAPTCHA, email verification, or administrator approval, to reduce automated account creation by attackers. 5. Conduct thorough logging and monitoring of command execution and user activities within WeKnora to detect potential exploitation attempts. 6. Review and harden the underlying operating system and container environments hosting WeKnora, applying the principle of least privilege to limit damage from potential compromise. 7. Educate development teams on secure coding practices, particularly proper input validation and command sanitization to prevent similar injection flaws. 8. Consider deploying runtime application self-protection (RASP) or endpoint detection and response (EDR) solutions to detect and block exploitation attempts in real time.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-05T21:27:35.342Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69ac564fc48b3f10ffb12c3b

Added to database: 3/7/2026, 4:46:07 PM

Last enriched: 3/14/2026, 8:02:03 PM

Last updated: 4/21/2026, 4:12:39 AM

Views: 129

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses