CVE-2026-108821
Deferred Deferred - Pending Action

SQL Injection in Tencent WeKnora

Vulnerability report for CVE-2026-108821, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-12

Last updated on: 2026-10-12

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-12
Last Modified
2026-10-12
Generated
2026-10-12
AI Q&A
2026-10-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
Tencent WeKnora 0.8.0
Tencent WeKnora 0.8.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-108821 is a SQL injection vulnerability in Tencent WeKnora up to version 0.8.1. The flaw exists in the validateSubquery function of the file internal/utils/inject.go, specifically in the SQL Validator component. The function fails to properly validate compound SQL queries, allowing attackers to bypass restrictions and inject malicious subqueries.

Detection Guidance

To detect CVE-2026-108821, check if WeKnora is running version 0.8.1 or earlier. Test for SQL injection via the data_analysis agent tool by attempting UNION-based queries targeting file paths like /data/files/** or system files such as /etc/passwd. Use tools like curl or Postman to send crafted SQL queries to the agent endpoint.

Impact Analysis

An attacker with the Viewer role (lowest privilege level) can exploit this vulnerability to read arbitrary files on the server's filesystem. This includes files from other workspaces, potentially leading to cross-tenant document disclosure. Attackers can also read system files like /etc/passwd using functions such as read_text or read_blob.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating compliance requirements under GDPR and HIPAA. It enables cross-tenant document disclosure and arbitrary file reads, which may result in data breaches and unauthorized disclosure of personal or protected health information.

Mitigation Strategies

Upgrade WeKnora to version 0.8.2 or later immediately. Apply the patch commit d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda. Disable the data_analysis agent tool if not required. Review and restrict file system access permissions for the WeKnora application user.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-108821. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart