---
title: "CVE-2026-30861: WeKnora has Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation"
url: https://erroneo.us/security/cve/CVE-2026-30861/
description: "CVE-2026-30861 (github.com/Tencent/WeKnora (Go)): WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. From…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-03-07
date_modified: 2026-03-09
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-30861"
kev: false
cvss: 10
epss: 0.02561
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-30861: WeKnora has Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 2.6% , percentile 85: FIRST’s model estimates a 2.6% chance of exploitation activity in the next 30 days, higher than 85% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/Tencent/WeKnora (Go) >= 0.2.5, < 0.2.10, fixed in 0.2.10 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- Go `github.com/Tencent/WeKnora` >= 0.2.5, < 0.2.10 → fixed: 0.2.10

## Affected products (CVE record)

- Tencent WeKnora: >= 0.2.5, < 0.2.10

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.56% probability of exploitation activity in the next 30 days; percentile 85.

## Sources

- [GitHub Advisory GHSA-r55h-3rwj-hcmg](https://github.com/advisories/GHSA-r55h-3rwj-hcmg)
- [CVE.org record CVE-2026-30861](https://www.cve.org/CVERecord?id=CVE-2026-30861)
- [NVD entry CVE-2026-30861](https://nvd.nist.gov/vuln/detail/CVE-2026-30861)
- [github.com](https://github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmg)
- [github.com](https://github.com/Tencent/WeKnora/commit/57d6fea8bc265ad28b385e0158957c870cff4b50)

---
Source page: https://erroneo.us/security/cve/CVE-2026-30861/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
