CVE-2026-30861

Source
https://cve.org/CVERecord?id=CVE-2026-30861
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30861.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-30861
Aliases
Downstream
Related
Published
2026-03-07T16:38:38.063Z
Modified
2026-04-10T05:41:56.742618Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
WeKnora: Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30861.json",
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

Git / github.com/tencent/weknora

Affected ranges

Type
GIT
Repo
https://github.com/tencent/weknora
Events

Affected versions

v0.*
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30861.json"