# CVE-2026-22687: WeKnora vulnerable to SQL Injection

- Severity: Medium 5.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-09T19:19:57.000Z
- Modified: 2026-06-17T10:20:14.117Z
- Also known as: GHSA-pcwc-3fw3-8cqv, GO-2026-4293
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Tencent WeKnora: < 0.2.5; before 0.2.5
- github.com/Tencent/WeKnora (Go): before 0.2.5

## Every score

- GitHub_M: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqv> (exploit, advisory, vendor-advisory, web)
- <https://github.com/Tencent/WeKnora/commit/da55707022c252dd2c20f8e18145b2d899ee06a1> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2026-22687](https://www.cve.org/CVERecord?id=CVE-2026-22687), CVE Terms of Use, modified 2026-03-10
- GitHub Advisory Database: [GHSA-pcwc-3fw3-8cqv](https://github.com/advisories/GHSA-pcwc-3fw3-8cqv), CC-BY-4.0, modified 2026-03-06
- Go Vulnerability Database: [GO-2026-4293](https://pkg.go.dev/vuln/GO-2026-4293), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2026-22687](https://nvd.nist.gov/vuln/detail/CVE-2026-22687), Public domain, modified 2026-06-17

---

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