CVE-2026-22687
CRITICAL 9.8CVSS 3.1WeKnora vulnerable to SQL Injection
WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to version 0.2.5, after WeKnora enables the Agent service, it allows users to call the database query tool. Due to insufficient backend validation, an attacker can use prompt‑based bypass techniques to evade query restrictions and obtain sensitive information from the target server and database. This issue has been patched in version 0.2.5.
- Published
- 10 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-pcwc-3fw3-8cqvGO-2026-4293
- Sources
- NVDJSONOSV GHSA-pcwc-3fw3-8cqvJSONOSV GO-2026-4293JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tencent | weknoracpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:* |
< 0.2.5 | 0.2.5 |
| OSV | Go | github.com/Tencent/WeKnora | < 0.2.5 | 0.2.5 |
References
- https://github.com/Tencent/WeKnora/commit/da55707022c252dd2c20f8e18145b2d899ee06a1 · Patch, WEB, FIX
- https://github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqv · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-22687 · ADVISORY
- https://github.com/Tencent/WeKnora · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-4293 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Jan 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jan 2026)