{"id":"CVE-2026-22688","published":"2026-01-10T03:41:59Z","modified":"2026-01-12T17:20:43Z","title":"WeKnora has Command Injection in MCP stdio test","vendor":"Tencent","product":"WeKnora","tier":"tail","description":{"text":"WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to version 0.2.5, there is a command injection vulnerability that allows authenticated users to inject stdio_config.command/args into MCP stdio settings, causing the server to execute subprocesses using these injected values. This issue has been patched in version 0.2.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01936,"percentile":0.80575,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/Tencent/WeKnora/security/advisories/GHSA-78h3-63c4-5fqc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Tencent/WeKnora/commit/f7900a5e9a18c99d25cec9589ead9e4e59ce04bb","tags":["x_refsource_MISC"]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":16.11},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"tencent","affectedVersions":[{"vendor":"Tencent","product":"WeKnora","versions":["< 0.2.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-01-12T17:20:40.444491Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/Tencent/WeKnora","vulnerableRanges":["<0.2.5"],"patched":["0.2.5"],"from":["GHSA-78h3-63c4-5fqc","GO-2026-4292"],"provenance":"source"}],"summary":{"text":"The WeKnora product from Tencent contains a command injection flaw in its MCP stdio test functionality, affecting versions prior to 0.2.5. The stdio_config.command and args values supplied to MCP stdio settings are not neutralised, so the server runs subprocesses using attacker-controlled input. An attacker needs only network access and a low-privileged authenticated account, with no user interaction or special configuration required, to inject commands that the server then executes as subprocesses.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:01Z"},"euvd":{"id":"EUVD-2026-1695","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tencent-weknora-cve-2026-22688","children":[{"from":"CVE-2026-22688","to":"CVE-2026-30861","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/Tencent/WeKnora","fromFixed":"0.2.5","toFixed":"0.2.10","daysApart":56},{"kind":"same-code","provenance":"machine","files":["internal/application/service/mcp_service.go","internal/mcp/client.go"],"commits":["https://github.com/Tencent/WeKnora/commit/f7900a5e9a18c99d25cec9589ead9e4e59ce04bb","https://github.com/Tencent/WeKnora/commit/57d6fea8bc265ad28b385e0158957c870cff4b50"],"basis":"shared function","functions":["NewMCPClient","NewMCPServiceService","UpdateMCPService"]}]}],"packageHistory":[{"cve":"CVE-2026-22687","published":"2026-01-10","fixed":"0.2.5","kev":false},{"cve":"CVE-2026-22688","published":"2026-01-10","fixed":"0.2.5","kev":false},{"cve":"CVE-2026-30861","published":"2026-03-07","fixed":"0.2.10","kev":false},{"cve":"CVE-2026-30247","published":"2026-03-07","fixed":"0.2.12","kev":false},{"cve":"CVE-2026-30859","published":"2026-03-07","fixed":"0.2.12","kev":false}],"package":"Go:github.com/Tencent/WeKnora"}}