CVE-2026-111702 Details
Description
ChatOllama through commit 96c3ce5 contains an insecure direct object reference vulnerability that allows remote attackers to access other users' private knowledge bases by supplying sequential ids. Attackers can enumerate ids via GET /api/knowledgebases/{id} or the knowledgebaseId parameter of POST /api/models/chat to read metadata and retrieved document content.
A vulnerability exists in ChatOllama in versions through commit 96c3ce5, allowing remote attackers to access private knowledge bases of other users. This insecure direct object reference (IDOR) vulnerability arises from the absence of proper ownership checks in the application's API. Attackers can exploit this by supplying sequential IDs to access metadata and document content from knowledge bases that are not theirs. The vulnerability is present in a multi-user environment where knowledge bases are assigned to individual users and can be marked as private or public.
To address this vulnerability, implement ownership checks in the API endpoints that read knowledge base data. This can be done by adding a requirement for knowledge base ownership verification immediately after loading a knowledge base in the 'GET /api/knowledgebases/[id]' and 'POST /api/models/chat' handlers. Additionally, consider centralizing knowledge base access controls to ensure all routes consistently enforce ownership checks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 16, 2026CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ChatOllama | <= 96c3ce50c3ba4ec3b19f126f50c035f84183f9fc |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Oct 16, 2026 | New CVE Received | [email protected] |
Volerion