Quick answers
- Is CVE-2026-108821 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-108821 being exploited in the wild.
- How severe is CVE-2026-108821?
- Medium severity, with a CVSS score of 6.3, published 12 October 2026.
- Which products and versions are affected?
- Tencent WeKnora up to 0.8.1.
- Is there a fix for CVE-2026-108821?
- Yes: fixed in 0.8.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-108821 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-108821?
- Check whether you run Tencent WeKnora at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Fixed in: 0.8.2
Technical details
The validateSubquery function in internal/utils/inject.go fails to inspect compound set operations (UNION/INTERSECT/EXCEPT) in subqueries, unlike the top-level validateSelectStmt function which rejects them. An attacker can nest a RangeFunction (forbidden in FROM clauses) inside a UNION branch where it is not validated, and the DuckDB data_analysis tool permits FROM subqueries without calling WithNoSubqueries(). This allows bypassing table whitelist enforcement and reading arbitrary files via DuckDB's file system access functions.
Affected products
- Tencent WeKnora up to 0.8.1
Timeline
- 2026-10-11: disclosed
- 2026-10-12: advisory
- 2026-10-12: patched: commit d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda