Skip to main content

Weknora CVE-2026-22688

CRITICAL
Command Injection (CWE-77)
2026-01-10 security-advisories@github.com GHSA-78h3-63c4-5fqc
9.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to WeKnora instance
  2. Delivery
    Access MCP stdio configuration settings
  3. Exploit
    Inject malicious commands into stdio_config.command/args
  4. Execution
    Server executes injected subprocess with elevated privileges
  5. Impact
    Attacker gains arbitrary code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique 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

Authenticated user account on WeKnora versions prior to 0.2.5 with access to MCP (Model Context Protocol) stdio configuration parameters. Attacker must have valid credentials to interact with the framework's configuration interface.

Impact

CVSS 9.9 (Critical). Low privileges, network vector, low complexity, scope change. PoC available. EPSS 0.34%. Patch available.

Exploit ScenarioDerived

An authenticated user configures a custom MCP stdio command pointing to /bin/bash with args executing a reverse shell. WeKnora spawns the subprocess, giving the attacker shell access.

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

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

Alert me

AnalysisAIv1 – Mar 12, 2026

WeKnora LLM framework (before 0.2.5) allows authenticated users to inject MCP stdio commands that the server executes as subprocesses. PoC available, patch available.

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

WeKnora allows command injection through MCP stdio settings, enabling authenticated RCE via subprocess execution.

RemediationAI

Update to WeKnora 0.2.5. Validate and whitelist allowed MCP commands. Do not allow user-controlled subprocess execution.

Affected Packages

go github.com/tencent/weknora fix: 0.2.5

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

Authenticated users can modify MCP stdio_config.command and args values (CWE-77). The server uses these to spawn subprocesses, effectively executing arbitrary commands specified by the user. MCP (Model Context Protocol) servers are a growing attack surface.

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
PoC Detected
Jan 22, 2026 - 14:39 vuln.today
Public exploit code
Patch released
Jan 22, 2026 - 14:39 nvd
Patch available
CVE Published
Jan 10, 2026 - 04:16 nvd
CRITICAL 9.9

DescriptionGitHub Advisory

WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to version 0.2.5, there is a command injection vulnerability that allows authenticated users to inject stdio_config.command/args into MCP stdio settings, causing the server to execute subprocesses using these injected values. This issue has been patched in version 0.2.5.

Executive ViewAI

Why It Matters

Organizations using WeKnora face critical risk from CVE-2026-22688, a command injection vulnerability rated CVSS 9.9. Successful exploitation could allow attackers to execute arbitrary code or commands on affected systems, potentially leading to full system compromise. Proof-of-concept code is publicly available, increasing the risk of exploitation. A patch is available and should be applied immediately given the critical severity.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Deploy WAF rules to block injection patterns; (2) Restrict network access to affected components; (3) Enable enhanced logging for suspicious activity.

Threat Intelligence Overview

EPSS Score
0.3%
Top 43% 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.3%
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.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:*
CVE-2026-30861 CRITICAL POC
9.9 Mar 07

OS command injection in WeKnora from version 0.2.5 allows authenticated users to execute arbitrary system commands. CVSS

CVE-2026-30860 CRITICAL POC
9.9 Mar 07

SQL injection in WeKnora LLM document understanding framework allows authenticated users to extract arbitrary database c

CVE-2026-30855 HIGH POC
8.8 Mar 07

Insufficient authorization checks in WeKnora's tenant management endpoints allow any authenticated user to read, modify,

CVE-2026-30858 MEDIUM POC
6.5 Mar 07

DNS rebinding in WeKnora's web_fetch tool allows authenticated attackers to bypass URL validation and access internal re

CVE-2026-30247 MEDIUM POC
5.9 Mar 07

WeKnora's document import feature is vulnerable to Server-Side Request Forgery through HTTP redirects, allowing unauthen

CVE-2026-22687 MEDIUM POC
5.6 Jan 10

WeKnora versions before 0.2.5 allow unauthenticated attackers to bypass database query restrictions through prompt injec

CVE-2025-11046 MEDIUM POC
5.5 Sep 26

A security flaw has been discovered in Tencent WeKnora 0.1.0. Rated medium severity (CVSS 6.9), this vulnerability is re

CVE-2026-30857 MEDIUM POC
5.3 Mar 07

Weknora versions up to 0.3.0 is affected by authorization bypass through user-controlled key (CVSS 5.3).

CVE-2026-91750 HIGH
7.1 Sep 15

WeKnora's URL-based document ingestion endpoint (POST /api/v1/knowledge-bases/:id/knowledge/url) allows authenticated us

CVE-2026-108821 LOW POC
2.1 Oct 12

SQL injection in Tencent WeKnora through version 0.8.1 allows an authenticated, low-privileged remote attacker to bypass

CVE-2026-8786 LOW POC
2.1 May 18

Authorization bypass in Tencent WeKnora's Config API endpoint allows authenticated attackers to access unauthorized know

CVE-2026-118376 MEDIUM
6.0 Oct 28

Server-side request forgery guard bypass in WeKnora: the isRestrictedIP()/ipclass address classifier treats NAT64-encode

Vendor StatusVendor

SUSE

Severity: Critical

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