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.
Published: 2026-10-16
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized access to private knowledge bases via ID enumeration
Action: Patch
AI Analysis

Impact

The vulnerability in ChatOllama identified by commit 96c3ce5 is an insecure direct object reference that permits remote attackers to access other users' private knowledge bases by supplying sequential identifiers. Through the GET /api/knowledgebases/{id} endpoint or the knowledgebaseId parameter in POST /api/models/chat, attackers can retrieve metadata and document content that should be restricted to the owner. This flaw discloses confidential information, violating the confidentiality of knowledge base contents and thereby representing a significant breach.

Affected Systems

The affected product is Sugarforever's ChatOllama. All releases that incorporate code changes older than commit 96c3ce5 remain vulnerable. Any deployment running a codebase that includes these earlier changes continues to be exposed until patched to a newer release that contains the commit or later.

Risk and Exploitability

The CVSS base score of 8.7 classifies the vulnerability as high severity. No EPSS score is available, and the vulnerability is not cataloged in CISA's KEV. Attackers can exploit the issue remotely via the public API endpoints without the need for any authentication; based on the description, it is inferred that no authentication is required. By enumerating sequential identifiers manually or programmatically, attackers can discover valid knowledge base IDs and retrieve private metadata and document content. The combination of high severity and broad attack surface makes this a significant threat for exposed instances of ChatOllama.

Generated by OpenCVE AI on October 16, 2026 at 19:19 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch that includes commit 96c3ce5 or later to address the IDOR flaw.
  • Configure authentication and, if possible, restrict access to the /api/knowledgebases and /api/models/chat endpoints via firewall or IP whitelisting.
  • Implement server‑side validation to confirm that the requesting user is the owner of or authorized for the requested knowledge base before returning any data.

Generated by OpenCVE AI on October 16, 2026 at 19:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Sugarforever
Sugarforever chat-ollama
Vendors & Products Sugarforever
Sugarforever chat-ollama

Sat, 17 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title ChatOllama through commit 96c3ce5 IDOR Exposes Private Knowledge Bases
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Sugarforever Chat-ollama
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-16T18:23:17.690Z

Reserved: 2026-10-16T14:31:21.990Z

Link: CVE-2026-111702

cve-icon Vulnrichment

Updated: 2026-10-16T18:23:06.237Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T18:17:54.080

Modified: 2026-10-16T19:17:05.120

Link: CVE-2026-111702

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T19:26:56Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key