SQL Injection Affecting github.com/tencent/weknora/internal/utils package, versions <0.2.12


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (41st 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-GITHUBCOMTENCENTWEKNORAINTERNALUTILS-15470409
  • published12 Mar 2026
  • disclosed6 Mar 2026
  • creditLê Minh Quân

Introduced: 6 Mar 2026

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

How to fix?

Upgrade github.com/Tencent/WeKnora/internal/utils to version 0.2.12 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection inadequate recursive validation of PostgreSQL array and row expressions in the validateNode function. An attacker can execute arbitrary SQL functions and achieve code execution on the database server by crafting malicious queries that embed dangerous function calls within array or row expressions, bypassing existing validation checks.

References

CVSS Base Scores

version 4.0
version 3.1