Use of Incorrectly-Resolved Name or Reference Affecting github.com/tencent/weknora/internal/agent/tools package, versions <0.3.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (17th 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 IDSNYK-GOLANG-GITHUBCOMTENCENTWEKNORAINTERNALAGENTTOOLS-15470082
  • published12 Mar 2026
  • disclosed6 Mar 2026
  • creditLê Minh Quân

Introduced: 6 Mar 2026

CVE-2026-30856  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Use of Incorrectly-Resolved Name or Reference via the MCPTool.Name sanitization in the NewMCPTool registration process in internal/agent/tools. An attacker can execute arbitrary MCP tools and inject prompts to exfiltrate context by registering a malicious service whose name collides with a legitimate tool.

References

CVSS Base Scores

version 4.0
version 3.1