WeKnora vulnerable to SQL Injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Tencent | WeKnora | before 0.2.5 | 0.2.5 | Patch available | CNA |
| — | github.com/Tencent/WeKnora (Go) | before 0.2.5 | 0.2.5 | Patch available | GHSA-pcwc-3fw3-8cqv |
- WeKnora VendorTencent Affected before 0.2.5 Fixed in 0.2.5 Patch available CNA
- github.com/Tencent/WeKnora (Go) Vendor— Affected before 0.2.5 Fixed in 0.2.5 Patch available GHSA-pcwc-3fw3-8cqv
Remediation
- Fix · CNA WeKnora (Tencent) Fixed in 0.2.5
- Fix · GHSA-pcwc-3fw3-8cqv github.com/Tencent/WeKnora (Go) Fixed in 0.2.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22687
- 2026-10-03 Alias added: GHSA-pcwc-3fw3-8cqv
References
More Tencent Weknora vulnerabilities
- TI-2026-23690 WeKnora: Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation CVSS 3.1CRITICAL 10.0
- TI-2026-23689 WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool CVSS 3.1CRITICAL 10.0
- TI-2026-18215 WeKnora has Command Injection in MCP stdio test CVSS 3.1CRITICAL 10.0
- TI-2026-23684 WeKnora: Broken Access Control in Tenant Management CVSS 3.1HIGH 8.8
- TI-2025-10116 Tencent WeKnora test testEmbeddingModel server-side request forgery CVSS 4.0MEDIUM 6.9
- TI-2026-23687 WeKnora: DNS Rebinding Vulnerability in web_fetch Tool Allows SSRF to Internal Resources CVSS 3.1HIGH 7.5
Sources
- CVE-2026-22687 · CVE Program
- CVE-2026-22687 · NVD
- FIRST EPSS
- GHSA-pcwc-3fw3-8cqv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences