Tencent WeKnora through 0.9.1 contains an incorrect authorization vulnerability in the databasequery agent tool that allows tenant admins…
CVE-2026-145812
Tencent WeKnora through 0.9.1 contains an incorrect authorization vulnerability in the databasequery 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.
Assessment
- CVSS
- 7.1 (v4.0)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 6 December 2026
- Last updated
- 6 December 2026
- Weakness
- CWE-863
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
At the source
References
- https://github.com/Tencent/WeKnora/blob/v0.9.1/internal/agent/tools/database_query.go#L252-L276
- https://github.com/Tencent/WeKnora/blob/v0.9.1/internal/utils/inject.go#L1508-L1568
- https://github.com/Tencent/WeKnora/blob/v0.9.1/internal/utils/inject.go#L939-L972
- https://github.com/Tencent/WeKnora/commit/98e920f8be1011df4c95ce4b6f8d2520aa9fbd69
- https://github.com/Tencent/WeKnora/pull/6578
- https://www.vulncheck.com/advisories/tencent-weknora-through-0.9.1-cross-tenant-data-read-via-database-query-tablesample
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-145812