# CVE-2026-8786: Tencent WeKnora authorization bypass in Config API Endpoint

Source: https://junglewise.ai/threats/cve-2026-8786-tencent-weknora-authorization-bypass-in-config-api-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-18. Updated: 2026-05-18  
License: CC BY 4.0 with a link back

CVE-2026-8786 · Severity: medium · CVSS 6.3 · Published 2026-05-18

Tencent WeKnora is a knowledge base management system. A security flaw allows any registered user to view or modify the configuration of knowledge bases belonging to other users or organizations. This could lead to the unauthorized disclosure of sensitive configuration data or the disruption of knowledge base operations across different tenants.

Technologies: [Tencent WeKnora](https://junglewise.ai/threats/technologies/weknora). Vendors: [Tencent](https://junglewise.ai/threats/vendors/tencent).

## Quick answers

**Is CVE-2026-8786 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-8786 being exploited in the wild.

**How severe is CVE-2026-8786?** Medium severity, with a CVSS score of 6.3, published 18 May 2026.

**Which products and versions are affected?** Tencent WeKnora up to 0.3.6.

**Is there a fix for CVE-2026-8786?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-8786 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-8786?** 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.

## Technical details

An Insecure Direct Object Reference (IDOR) vulnerability exists in the InitializationHandler of Tencent WeKnora up to version 0.3.6. The function 'getKnowledgeBaseForInitialization' in 'internal/handler/initialization.go' retrieves knowledge base entities using only the 'kbId' without verifying if the entity belongs to the requesting user's 'TenantID'. An authenticated attacker can exploit this by sending crafted GET, PUT, or POST requests to the '/api/v1/initialization/config/{kbId}' or '/api/v1/initialization/kb/{kbId}' endpoints. This allows the attacker to read or modify configurations such as chunk sizes, separators, and LLM models for any knowledge base on the system.

## Affected products

- Tencent WeKnora up to 0.3.6

## Timeline

- 2026-04-06: disclosed: Public exploit and advisory published on GitHub Gist
- 2026-05-18: advisory: NVD and VulDB publish advisory details

## References

- [https://gist.github.com/YLChen-007/1cdc50418f29af7ae671466425e52c7b](https://gist.github.com/YLChen-007/1cdc50418f29af7ae671466425e52c7b)
- [https://vuldb.com/submit/812172](https://vuldb.com/submit/812172)
- [https://vuldb.com/vuln/364410](https://vuldb.com/vuln/364410)
- [https://vuldb.com/vuln/364410/cti](https://vuldb.com/vuln/364410/cti)

## Related threats

- [WeKnora server-side request forgery in isRestrictedIP()](https://junglewise.ai/threats/cve-2026-118376-weknora-before-0-8-2-contains-a-server-side-request-forgery)
- [Tencent WeKnora SQL injection in validateSubquery](https://junglewise.ai/threats/cve-2026-108821-a-security-vulnerability-has-been-detected-in-tencent-weknora-up)
- [Tencent WeKnora SSRF via unvalidated HTTP redirects](https://junglewise.ai/threats/cve-2026-91750-tencent-weknora-ssrf-via-unvalidated-http-redirects)
