Skip to main content

Weknora CVE-2026-30861

CRITICAL
OS Command Injection (CWE-78)
2026-03-07 security-advisories@github.com GHSA-r55h-3rwj-hcmg
9.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register account via unrestricted registration
  2. Exploit
    Craft MCP stdio config with -p flag
  3. Execution
    Bypass npx whitelist validation
  4. Impact
    Execute arbitrary code via node command injection

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

WeKnora versions 0.2.5 to 0.2.9 with unrestricted user registration enabled and MCP stdio configuration accessible. Attacker must create account and access configuration validation endpoint that processes npx/uvx commands without proper -p flag sanitization.

Impact

CVSS 9.9, PoC available. Combined with SQLi (CVE-2026-30860), provides multiple paths to complete system compromise.

Exploit ScenarioDerived

Authenticated user injects OS commands through document processing features, gains shell access, exfiltrates sensitive documents and LLM configuration.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 12, 2026

OS command injection in WeKnora from version 0.2.5 allows authenticated users to execute arbitrary system commands. CVSS 9.9 with scope change. PoC available.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:55 CVSS 9.9

Command injection RCE in WeKnora LLM framework.

RemediationAI

Update WeKnora. Sanitize all user inputs before system command execution.

Affected Packages

go github.com/tencent/weknora fix: 0.2.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-78 OS command injection from v0.2.5. Authenticated users can inject system commands through the document processing pipeline.

Know when Weknora gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Mar 09, 2026 - 17:35 vuln.today
Public exploit code
CVE Published
Mar 07, 2026 - 17:15 nvd
CRITICAL 9.9

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

A critical unauthenticated remote code execution vulnerability (CVSS 9.9) affects WeKnora LLM framework versions 0.2.5 through 0.2.9, allowing attackers to execute arbitrary code without authentication. Any organization running affected versions faces immediate risk of system compromise, data theft, and operational disruption, with active public exploits already available.

Business Impact: Severe
Compensating Controls

Network segmentation restricting access to WeKnora instances; Web Application Firewall (WAF) rules to block malicious MCP stdio configuration payloads; disable MCP stdio protocol support if business operations permit; implement strict input validation at application level; deploy intrusion detection signatures for CVE-2026-30861 exploitation attempts; restrict outbound connections from WeKnora instances to prevent command-and-control callbacks.

Threat Intelligence Overview

EPSS Score
0.2%
Top 56% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy