SQL Injection Affecting github.com/tencent/weknora/internal/agent/tools package, versions <0.2.5


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMTENCENTWEKNORAINTERNALAGENTTOOLS-14912606
  • published11 Jan 2026
  • disclosed10 Jan 2026
  • creditpasser-W

Introduced: 10 Jan 2026

CVE-2026-22687  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade github.com/Tencent/WeKnora/internal/agent/tools to version 0.2.5 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via insufficient backend validation in the Agent service's database query tool. An attacker can access sensitive information from the server and database by using prompt-based bypass techniques to evade query restrictions.

References

CVSS Base Scores

version 4.0
version 3.1