Moderate severityOSV Advisory· Published Jan 10, 2026· Updated Mar 10, 2026
WeKnora vulnerable to SQL Injection
CVE-2026-22687
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/Tencent/WeKnoraGo | < 0.2.5 | 0.2.5 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/tencent/weknorapkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 0.2.5+ 1 more
- (no CPE)range: < 0.2.5
- (no CPE)range: < 0.0.20260114T191543-150000.1.137.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-pcwc-3fw3-8cqvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-22687ghsaADVISORY
- github.com/Tencent/WeKnora/commit/da55707022c252dd2c20f8e18145b2d899ee06a1ghsax_refsource_MISCWEB
- github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqvghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2026-4293ghsaWEB
News mentions
0No linked articles in our index yet.