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

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.34%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-07T01:59:01.000Z
- Modified: 2026-06-17T10:33:03.130Z
- Also known as: GHSA-r55h-3rwj-hcmg, GO-2026-4645
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Tencent WeKnora: >= 0.2.5, < 0.2.10; from 0.2.5 before 0.2.10
- github.com/Tencent/WeKnora (Go): from 0.2.5 before 0.2.10; from 0.2.6 before 0.2.10

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Tencent/WeKnora/security/advisories/GHSA-r55h-3rwj-hcmg> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30861> (advisory)
- <https://github.com/Tencent/WeKnora/commit/57d6fea8bc265ad28b385e0158957c870cff4b50> (fix, web)
- <https://github.com/Tencent/WeKnora> (package)

## Sources

- CVE List: [CVE-2026-30861](https://www.cve.org/CVERecord?id=CVE-2026-30861), CVE Terms of Use, modified 2026-03-09
- GitHub Advisory Database: [GHSA-r55h-3rwj-hcmg](https://github.com/advisories/GHSA-r55h-3rwj-hcmg), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4645](https://pkg.go.dev/vuln/GO-2026-4645), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-30861](https://nvd.nist.gov/vuln/detail/CVE-2026-30861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30861 · Whole record: https://cve.day/CVE-2026-30861.json · Rebuilt by cve.day 2026-11-25T22:59:15.489Z
