{"cve":"CVE-2026-30860","nvd":{"published":"2026-03-07T17:15:53.823","modified":"2026-06-17T10:33:03.017","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/Tencent/WeKnora/security/advisories/GHSA-8w32-6mrw-q5wv"],"products":["tencent:weknora"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-30860","score":0.00687,"percentile":0.52698,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8w32-6mrw-q5wv","url":"https://osv.dev/vulnerability/GHSA-8w32-6mrw-q5wv","summary":"WeKnora Vulnerable to Remote Code Execution via SQL Injection Bypass in AI Database Query Tool","modified":"2026-03-23T04:56:05.278459660Z","packages":[{"ecosystem":"Go","name":"github.com/Tencent/WeKnora","purl":"pkg:golang/github.com/Tencent/WeKnora","ranges":["<0.2.12"],"fixed":["0.2.12"]}]},{"id":"GO-2026-4641","url":"https://osv.dev/vulnerability/GO-2026-4641","summary":"WeKnora Vulnerable to Remote Code Execution via SQL Injection Bypass in AI Database Query Tool in github.com/Tencent/WeKnora","modified":"2026-03-23T04:52:47.886045Z","packages":[{"ecosystem":"Go","name":"github.com/Tencent/WeKnora","purl":"pkg:golang/github.com/Tencent/WeKnora","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}