CVE-2026-111702
CVE-2026-111702 · ChatOllama through commit 96c3ce5 IDOR Exposes Private Knowledge Bases
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.7 · High · EPSS 0.4%
- Published
- Updated
Affected products and versions
chat-ollama
- Versions
- ≥ 0, ≤ 96c3ce50c3ba4ec3b19f126f50c035f84183f9fc: Affected (git)
No fix published
Original sources
- https://hackmd.io/@hieuPenguinnn/chat-ollama-knowledge-base-cross-user-idor
- https://github.com/sugarforever/chat-ollama/blob/6f4245a96b58ce8833a8c51d90d923b0e9814784/server/api/models/chat/index.post.ts#L392-L427
- https://github.com/sugarforever/chat-ollama/blob/6f4245a96b58ce8833a8c51d90d923b0e9814784/server/api/knowledgebases/%5Bid%5D.get.ts#L25-L34
- https://www.vulncheck.com/advisories/chatollama-through-commit-96c3ce5-idor-exposes-private-knowledge-bases
- https://nvd.nist.gov/vuln/detail/CVE-2026-111702