Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/Tencent/WeKnora
  4. ›
  5. CVE-2026-22687

CVE-2026-22687: WeKnora vulnerable to SQL Injection

January 9, 2026 (updated January 22, 2026)

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.

References

  • github.com/Tencent/WeKnora
  • github.com/Tencent/WeKnora/commit/da55707022c252dd2c20f8e18145b2d899ee06a1
  • github.com/Tencent/WeKnora/security/advisories/GHSA-pcwc-3fw3-8cqv
  • github.com/advisories/GHSA-pcwc-3fw3-8cqv
  • nvd.nist.gov/vuln/detail/CVE-2026-22687
  • pkg.go.dev/vuln/GO-2026-4293

Code Behaviors & Features

Detect and mitigate CVE-2026-22687 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.5

Fixed versions

  • 0.2.5

Solution

Upgrade to version 0.2.5 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

go/github.com/Tencent/WeKnora/CVE-2026-22687.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:43 +0000.