WeKnora 0.2.5-0.2.9 - Unauthenticated Remote Code Execution via MCP stdio Configuration Validation Bypass
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2026-30861. PoCs published by exploitintel.
AI-analyzed exploit summary This repository contains functional exploit code for CVE-2026-30861, demonstrating an OS command injection vulnerability in WeKnora via MCP stdio transport. The PoC bypasses an incomplete blocklist to execute arbitrary commands using Node.js flags.
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.
Exploits (1)
This repository contains functional exploit code for CVE-2026-30861, demonstrating an OS command injection vulnerability in WeKnora via MCP stdio transport. The PoC bypasses an incomplete blocklist to execute arbitrary commands using Node.js flags.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H