CVE-2026-145812
MediumCVSS 6.5Summary
Tencent WeKnora through 0.9.1 contains an incorrect authorization vulnerability in the database_query agent tool that allows tenant admins to read other tenants' data by wrapping tables in a TABLESAMPLE clause. Attackers can configure a controlled chat model and custom agent to run queries where the sampled table skips tenant predicate injection, exposing other tenants' document chunks.
Risk Assessment
Breach of tenant isolation can lead to leakage of sensitive data between organizations sharing the same instance.
Recommendation
Update Tencent WeKnora to a version later than 0.9.1, which fixes the authorization vulnerability in the database_query tool.
Other vulnerabilities in Tencent WeKnora
See all- CVE-2026-144607High
Tencent WeKnora 0.3.2 through 0.9.1 contains an incorrect authorization vulnerability that allows any self-registered tenant admin to replace the global DocumentReader address via the docreader reconnect endpoint. Attackers can point the shared parser at their own gRPC or HTTP server to steal all tenants' uploaded documents, inject forged parsed content, or break ingestion.
- CVE-2026-108821Medium
A security vulnerability was detected in Tencent WeKnora up to version 0.8.1 in the validateSubquery function of the file internal/utils/inject.go in the SQL Validator component. The manipulation leads to SQL injection. The attack can be carried out remotely and the exploit has been publicly disclosed.
- CVE-2026-8786Medium
A vulnerability has been found in Tencent WeKnora up to 0.3.6 in the getKnowledgeBaseForInitialization function of internal/handler/initialization.go in the Config API Endpoint component. Manipulation of the kbId argument leads to authorization bypass, and the attack can be initiated remotely. The exploit has been publicly disclosed and the vendor did not respond.
Original NVD description (English source)
Tencent WeKnora through 0.9.1 contains an incorrect authorization vulnerability in the database_query agent tool that allows tenant admins to read other tenants' data by wrapping tables in a TABLESAMPLE clause. Attackers can configure a controlled chat model and custom agent to run queries where the sampled table skips tenant predicate injection, exposing other tenants' document chunks.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

