CVE-2026-145812
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 7.1 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.5)
CVSS v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- Tencent WeKnora <= 0.9.1
- Tencent WeKnora 0.9.1
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Tencent WeKnora and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 6, 2026Published
- Dec 6, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Tencent WeKnora CVEsYou are reading CVE-2026-145812. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://github.com/Tencent/WeKnora/blob/v0.9.1/internal/utils/inject.go#L939-L972
- Referencehttps://github.com/Tencent/WeKnora/blob/v0.9.1/internal/utils/inject.go#L1508-L1568
- Referencehttps://github.com/Tencent/WeKnora/blob/v0.9.1/internal/agent/tools/database_query.go#L252-L276
- Patchhttps://github.com/Tencent/WeKnora/pull/6578
- Patchhttps://github.com/Tencent/WeKnora/commit/98e920f8be1011df4c95ce4b6f8d2520aa9fbd69
- Referencehttps://www.vulncheck.com/advisories/tencent-weknora-through-0.9.1-cross-tenant-data-read-via-database-query-tablesample
Data last checked: Dec 6, 2026 18:43 UTC