{"cve":"CVE-2026-30861","nvd":{"published":"2026-03-07T17:15:53.980","modified":"2026-06-17T10:33:03.130","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["https://github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmg"],"products":["tencent:weknora"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-30861","score":0.02225,"percentile":0.82719,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r55h-3rwj-hcmg","url":"https://osv.dev/vulnerability/GHSA-r55h-3rwj-hcmg","summary":"WeKnora has Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation","modified":"2026-03-23T04:56:20.254997467Z","packages":[{"ecosystem":"Go","name":"github.com/Tencent/WeKnora","purl":"pkg:golang/github.com/Tencent/WeKnora","ranges":[">=0.2.5 <0.2.10"],"fixed":["0.2.10"]}]},{"id":"GO-2026-4645","url":"https://osv.dev/vulnerability/GO-2026-4645","summary":"WeKnora has Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation in github.com/Tencent/WeKnora","modified":"2026-03-23T04:52:49.965444Z","packages":[{"ecosystem":"Go","name":"github.com/Tencent/WeKnora","purl":"pkg:golang/github.com/Tencent/WeKnora","ranges":[">=0.2.6 <0.2.10"],"fixed":["0.2.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}