Vulnerability · Published Oct 16, 2026 · Assigned by VulnCheck
CVE-2026-111702ChatOllama through commit 96c3ce5 IDOR Exposes Private Knowledge Bases
High 7.5
In plain English
A high-severity authorization bypass via user-controlled key in chat-ollama from sugarforever. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sugarforever | chat-ollama | 0 – through 96c3ce50c3ba4ec3b19f126f50c035f84183f9fc |
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://hackmd.io/@hieuPenguinnn/chat-ollama-knowledge-base-cross-user-idor third-party-advisory
- https://github.com/sugarforever/chat-ollama/blob/6f4245a96b58ce8833a8c51d90d923b0e9814784/server/api/models/chat/index.post.ts#L392-L427 technical-description
- https://github.com/sugarforever/chat-ollama/blob/6f4245a96b58ce8833a8c51d90d923b0e9814784/server/api/knowledgebases/%5Bid%5D.get.ts#L25-L34 technical-description
- VulnCheck Advisory: ChatOllama through commit 96c3ce5 IDOR Exposes Private Knowledge Bases third-party-advisory