Summary
CVE-2026-111702 is an insecure direct object reference (IDOR) vulnerability (CWE-639, Authorization Bypass Through User-Controlled Key) in ChatOllama (sugarforever/chat-ollama). A remote, unauthenticated attacker can read other users’ private knowledge bases by supplying sequential ids. The CVSS v4.0 score is 8.7 (High).
Technical details
- Root cause: knowledge bases are referenced by sequential identifiers, and the application does not verify that the requesting user owns the object or is authorized to access it.
- Trigger conditions: the attacker sends requests with guessed or enumerated sequential ids. No privileges or user interaction are required.
- Attack vector: network. Requests go to
GET /api/knowledgebases/{id}, or toPOST /api/models/chatwith theknowledgebaseIdparameter. - Impact: disclosure of other users’ private knowledge base metadata and document content (high confidentiality impact). The CVE record lists no integrity or availability impact.
Affected software
- ChatOllama (sugarforever/chat-ollama) through commit 96c3ce50c3ba4ec3b19f126f50c035f84183f9fc
Severity
- CVSS v4.0: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: the CVE record names no fixed release. Update ChatOllama to a build later than commit 96c3ce5 that adds ownership checks, and monitor the project repository for a fix.
- If no patch is available: restrict network access to ChatOllama instances to trusted users, for example behind a VPN or an authenticating reverse proxy. Do not expose instances holding sensitive knowledge bases to the internet. Review access logs for sequential requests to
/api/knowledgebases/{id}and/api/models/chat.

