Vulnerability · Published Jan 10, 2026 · Assigned by GitHub_M
CVE-2026-22687WeKnora vulnerable to SQL Injection
Medium 5.6
In plain English
A medium-severity SQL injection in WeKnora from Tencent. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/Tencent/WeKnora | 0.2.5 | GHSA-pcwc-3fw3-8cqv |
| Go | github.com/Tencent/WeKnora | 0.2.5 | GO-2026-4293 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L