{"id":"CVE-2026-22687","state":"PUBLISHED","title":"WeKnora vulnerable to SQL Injection","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.","publishedAt":"2026-01-10T03:41:43.862Z","updatedAt":"2026-03-10T18:34:41.657Z","severity":{"score":5.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["Tencent WeKnora"],"affected":[{"vendor":"Tencent","product":"WeKnora","versions":[{"version":"< 0.2.5","status":"affected"}]}],"references":["https://github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqv","https://github.com/Tencent/WeKnora/commit/da55707022c252dd2c20f8e18145b2d899ee06a1"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22687.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22687","state":"PUBLISHED","datePublished":"2026-01-10T03:41:43.862Z","dateUpdated":"2026-03-10T18:34:41.657Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-08T19:23:09.854Z"},"containers":{"cna":{"title":"WeKnora vulnerable to SQL Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Tencent","product":"WeKnora","versions":[{"version":"< 0.2.5","status":"affected"}]}],"references":[{"url":"https://github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqv","name":"https://github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Tencent/WeKnora/commit/da55707022c252dd2c20f8e18145b2d899ee06a1","name":"https://github.com/Tencent/WeKnora/commit/da55707022c252dd2c20f8e18145b2d899ee06a1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-06T14:23:46.629Z"},"source":{"advisory":"GHSA-pcwc-3fw3-8cqv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqv","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-10T18:34:38.295697Z","id":"CVE-2026-22687","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-10T18:34:41.657Z"}}]}}}