Medium severity6.5NVD Advisory· Published Dec 6, 2026· Updated Dec 6, 2026
CVE-2026-145812
CVE-2026-145812
Description
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.
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/Tencent/WeKnora/blob/v0.9.1/internal/agent/tools/database_query.gonvd
- github.com/Tencent/WeKnora/blob/v0.9.1/internal/utils/inject.gonvd
- github.com/Tencent/WeKnora/blob/v0.9.1/internal/utils/inject.gonvd
- github.com/Tencent/WeKnora/commit/98e920f8be1011df4c95ce4b6f8d2520aa9fbd69nvd
- github.com/Tencent/WeKnora/pull/6578nvd
- www.vulncheck.com/advisories/tencent-weknora-through-0.9.1-cross-tenant-data-read-via-database-query-tablesamplenvd
News mentions
0No linked articles in our index yet.