# CVE-2026-30860: WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- 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.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-06T23:59:20.000Z
- Modified: 2026-06-17T10:33:03.017Z
- Also known as: GHSA-8w32-6mrw-q5wv, GO-2026-4641
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to version 0.2.12, a remote code execution (RCE) vulnerability exists in the application's database query functionality. The validation system fails to recursively inspect child nodes within PostgreSQL array expressions and row expressions, allowing attackers to bypass SQL injection protections. By smuggling dangerous PostgreSQL functions inside these expressions and chaining them with large object operations and library loading capabilities, an unauthenticated attacker can achieve arbitrary code execution on the database server with database user privileges. This issue has been patched in version 0.2.12.

(As written by CVE List.)

## Affected

- Tencent WeKnora: < 0.2.12; before 0.2.12
- github.com/Tencent/WeKnora (Go): before 0.2.12; all versions

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- 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-8w32-6mrw-q5wv> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30860> (advisory)
- <https://github.com/Tencent/WeKnora> (package)

## Sources

- CVE List: [CVE-2026-30860](https://www.cve.org/CVERecord?id=CVE-2026-30860), CVE Terms of Use, modified 2026-03-09
- GitHub Advisory Database: [GHSA-8w32-6mrw-q5wv](https://github.com/advisories/GHSA-8w32-6mrw-q5wv), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4641](https://pkg.go.dev/vuln/GO-2026-4641), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-30860](https://nvd.nist.gov/vuln/detail/CVE-2026-30860), Public domain, modified 2026-06-17

---

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