Description
A security vulnerability has been detected in Tencent WeKnora up to 0.8.1. Impacted is the function validateSubquery of the file internal/utils/inject.go of the component SQL Validator. The manipulation leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.8.2 is recommended to address this issue. The identifier of the patch is d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda. It is recommended to upgrade the affected component.
Published: 2026-10-12
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Remote SQL Injection
Action: Patch Now
AI Analysis

Impact

A vulnerability exists in Tencent WeKnora up to version 0.8.1 within the validateSubquery function of internal/utils/inject.go. The function fails to properly validate input, allowing an attacker to craft a malicious subquery that is executed by the database. This results in arbitrary SQL code execution, compromising the confidentiality and integrity of data stored by the affected system. The weakness is identified as improper input validation (CWE-74) and SQL injection (CWE-89). The vulnerability can be exploited remotely and has already been publicly disclosed.

Affected Systems

All installations of Tencent WeKnora prior to the 0.8.2 release are affected, including version 0.8.1 and earlier builds. The component that validates SQL queries is vulnerable; any deployment that uses the default configuration without applying the patch is potentially exposed.

Risk and Exploitability

The CVSS score is 5.3, indicating a medium severity, while the EPSS score is unavailable and the flaw is not listed in the CISA KEV catalog. Attackers require remote access to the WeKnora SQL validator and can send a crafted payload to exploit the weakness. The security patch identified by commit d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda resolves the issue, but until it is applied, the risk remains moderate and must be mitigated promptly.

Generated by OpenCVE AI on October 12, 2026 at 11:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the security patch commit d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda and upgrade WeKnora to version 0.8.2.
  • If an immediate upgrade is not possible, disable or restrict external access to the component that performs SQL validation to prevent remote exploitation.
  • After remediation, conduct a scan of the environment for other SQL injection opportunities and validate that the validateSubquery function no longer accepts malicious input.

Generated by OpenCVE AI on October 12, 2026 at 11:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 12 Oct 2026 10:15:00 +0000

Type Values Removed Values Added
Description A security vulnerability has been detected in Tencent WeKnora up to 0.8.1. Impacted is the function validateSubquery of the file internal/utils/inject.go of the component SQL Validator. The manipulation leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.8.2 is recommended to address this issue. The identifier of the patch is d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda. It is recommended to upgrade the affected component.
Title Tencent WeKnora SQL Validator inject.go validateSubquery sql injection
First Time appeared Tencent
Tencent weknora
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:*
Vendors & Products Tencent
Tencent weknora
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-12T09:45:14.947Z

Reserved: 2026-10-11T10:44:57.349Z

Link: CVE-2026-108821

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-12T10:16:43.983

Modified: 2026-10-12T10:16:44.123

Link: CVE-2026-108821

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T11:30:10Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')