MediumVulnerabilityLLM-specific
CVE-2026-22687: WeKnora database query tool exposes sensitive data via prompt bypass
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-22687
- Published
- Record updated
- Affected
- github.com/Tencent/WeKnora < 0.2.5
- Fixed in
- 0.2.5
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
WeKnora, an LLM-powered framework for document understanding and semantic retrieval, is affected by CVE-2026-22687 in versions prior to 0.2.5. When the Agent service is enabled, users can call the database query tool, and insufficient backend validation lets an attacker use prompt-based bypass techniques to evade query restrictions. The attacker can then obtain sensitive information from the target server and database.
Mitigation
Fixed in 0.2.5.
Related items
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumZero-Click attacks in Microsoft 365 Copilot enabled data theftSimilar attack, BleepingComputer
- InfoDefending the Confused Deputy: Why AI Agents Need More Than Just System-Prompt GuardrailsSimilar attack, Google Bug Hunters Blog
- InfoMulti Surface Attack: An Agent Is Only as Safe as Its Weakest SurfaceSimilar attack, Arxiv (cs.CR + cs.CL + cs.LG)
- MediumCVE-2026-76895: CKAN MCP Server tool output injection through portal-controlled dataset fieldsSimilar attack, NVD/CVE Database