Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/Tencent/WeKnora
  4. ›
  5. CVE-2026-30861

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

March 7, 2026

A critical unauthenticated remote code execution (RCE) vulnerability exists in the MCP stdio configuration validation introduced in version 2.0.5.

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.

The vulnerability remained unfixed across multiple releases (2.0.6-2.0.9) before being silently patched in version 2.0.10, without a published CVE, potentially leaving customers unaware.

References

  • github.com/Tencent/WeKnora
  • github.com/Tencent/WeKnora/commit/57d6fea8bc265ad28b385e0158957c870cff4b50
  • github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmg
  • github.com/advisories/GHSA-r55h-3rwj-hcmg
  • nvd.nist.gov/vuln/detail/CVE-2026-30861

Code Behaviors & Features

Detect and mitigate CVE-2026-30861 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.2.6 before 0.2.10

Fixed versions

  • 0.2.10

Solution

Upgrade to version 0.2.10 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/Tencent/WeKnora/CVE-2026-30861.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 09 Mar 2026 00:18:26 +0000.