ChatOllama through commit 96c3ce5 IDOR Exposes Private Knowledge Bases
sugarforever chat-ollama
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sugarforever chat-ollama |
| No fix yet |
Original 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.
From the CVE record · VulnCheck