# CVE-2026-111702: ChatOllama through commit 96c3ce5 IDOR Exposes Private Knowledge Bases

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-16T17:39:55.104Z
- Modified: 2026-10-16T19:17:05.120Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- sugarforever chat-ollama: up to 96c3ce50c3ba4ec3b19f126f50c035f84183f9fc

## Every score

- VulnCheck: CVSS:4.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`
- VulnCheck: CVSS:3.1 7.5 High `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> (exploit, 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)
- <https://www.vulncheck.com/advisories/chatollama-through-commit-96c3ce5-idor-exposes-private-knowledge-bases> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-111702](https://www.cve.org/CVERecord?id=CVE-2026-111702), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-111702](https://nvd.nist.gov/vuln/detail/CVE-2026-111702), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-111702 · Whole record: https://cve.day/CVE-2026-111702.json · Rebuilt by cve.day 2026-11-25T22:59:45.100Z
