Tencent WeKnora SQL Validator inject.go validateSubquery sql injection
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-108821
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:27 UTC · Revision 1
Source evidence
Tencent WeKnora SQL Validator inject.go validateSubquery sql injection
core-osv · Original sourcePublished 12 Oct 2026, 09:45 UTC
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.
osv:CVE-2026-108821
Complete source record
{
"id": "02485d506b0ff9bbbf2b7b048b5f832f08bcb4c24f96ae3295660d7909f3860f",
"url": "https://osv.dev/vulnerability/CVE-2026-108821",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Tencent WeKnora SQL Validator inject.go validateSubquery sql injection",
"summary": "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.",
"evidence": "osv:CVE-2026-108821",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-108821",
"aliases": [
"CVE-2026-108821"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/tencent/weknora",
"type": "GIT",
"events": [
{
"introduced": "1edcd54b43606d9079bb36650efe3f68707a79ea"
},
{
"fixed": "d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda"
},
{
"fixed": "3e8b0bfc80b845b2d4b2ed683994748741450a97"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.8.0"
},
{
"last_affected": "0.8.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "3e8b0bfc80b845b2d4b2ed683994748741450a97"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.8.2"
}
]
}
}
],
"versions": [
"0.8.0",
"v0.8.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108821.json"
}
}
],
"modified": "2026-10-28T02:30:38.215752190Z",
"provider": "osv",
"references": [
"https://github.com/Tencent/WeKnora/",
"https://github.com/k4z01/WeKnora-SQL-Validation-Bypass/blob/main/weknora-sql-validation-bypass.md",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108821.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-108821",
"https://vuldb.com/cve/CVE-2026-108821",
"https://vuldb.com/submit/964272",
"https://vuldb.com/vuln/416598",
"https://vuldb.com/vuln/416598/cti",
"https://github.com/Tencent/WeKnora/commit/d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda",
"https://github.com/Tencent/WeKnora/pull/3305",
"https://github.com/Tencent/WeKnora/releases/tag/v0.8.2",
"https://gist.github.com/k4z01/8ab2f57b015825f8738ed536dd870877"
],
"provider_metadata": {
"cwe_ids": [
"CWE-74",
"CWE-89"
],
"cna_assigner": "VulDB",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "0.8.1"
},
{
"last_affected": "0.8.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108821.json"
}
},
"related_cves": [
{
"value": "CVE-2026-108821",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505689,
"published_at": "2026-10-12T09:45:14.947+00:00"
}