Skip to main content

Kotaemon CVE-2026-82281

| EUVDEUVD-2026-67812 CRITICAL
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-08-28 VulnCheck GHSA-4qgc-qr9j-76rw
9.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to shared Kotaemon instance
  2. Delivery
    Obtain or enumerate target conversation IDs
  3. Exploit
    Call select/delete/rename with victim's ID
  4. Execution
    Bypass missing ownership check
  5. Impact
    Read, delete, or rename victim conversations

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires a multi-user Kotaemon deployment (through 0.12.0) where the attacker has an active session and can invoke the conversation handlers in control.py. The concrete prerequisite is possession of a valid target conversation identifier: the attacker supplies an arbitrary conversation ID to select_conv, delete_conv, rename_conv, or on_set_public_conversation, which perform no ownership check. Limiting factors: exploitation is meaningless on single-user instances; the attacker must know or enumerate valid conversation IDs (reflected in the CVSS AC:H/AT:P metrics), so the difficulty hinges on whether identifiers are sequential/predictable or unguessable UUIDs - a detail not confirmed in the available data.

Impact

Signals are mixed and should temper the headline 9.1. The supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N) itself encodes friction - AC:H and AT:P indicate meaningful attack requirements, most plausibly the need to know or enumerate valid conversation identifiers, which contradicts a trivially-exploitable reading. PR:N is also questionable: the vulnerability is fundamentally cross-user, so it only matters in a multi-user/authenticated deployment where the attacker is a logged-in user (see assessed vector, which uses PR:L). No EPSS score was provided, it is not in CISA KEV, and no POC is referenced, so there is no evidence of active or widespread exploitation. Realistic priority is moderate-to-high for organizations running multi-tenant Kotaemon with sensitive documents, and low for single-user or trusted-team deployments. Data gap: identifier format (sequential vs. UUID) is not stated and materially changes exploitability - verify against the deployment.

Exploit ScenarioDerived

A registered user on a shared Kotaemon instance opens the chat UI and issues select_conv/rename_conv/delete_conv requests substituting conversation identifiers other than their own. Because ownership is never validated, the server returns or mutates another user's conversation, exposing their chat history or destroying/renaming their threads. No POC is published, and the AC:H/AT:P metrics imply the attacker must first obtain or guess valid conversation IDs.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Broken access control in Kotaemon through 0.12.0 lets any user act on conversations they do not own by supplying arbitrary conversation identifiers to the select_conv, delete_conv, rename_conv, and on_set_public_conversation handlers in control.py. Because these functions never verify that the requesting user owns the referenced conversation, an attacker can read other users' chat histories and delete or rename their conversations. Reported by VulnCheck; no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis - the affected range is open-ended ('through 0.12.0') and the references point to a tracking issue (#846) and the vulnerable file rather than a tagged fixed release, so no exact fix version can be cited. As compensating controls, restrict Kotaemon to trusted single-tenant use or place it behind a reverse proxy that enforces per-user isolation; avoid exposing multi-user instances to untrusted users until server-side ownership checks are added to select_conv, delete_conv, rename_conv, and on_set_public_conversation. Operators comfortable patching source can add an owner-equals-current-user check before each conversation operation in control.py and rebuild (trade-off: local fork maintenance, and the public-conversation feature must still permit legitimately shared threads). Monitor GitHub issue #846 and the VulnCheck advisory for an official fixed version, then upgrade to it.

Affected VersionsENISA

kotaemon 0 ≤0.12.0

Affected Packages

euvd kotaemon no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kotaemon is an open-source, self-hostable retrieval-augmented generation (RAG) document-chat application by Cinnamon, built on a Gradio web UI where each authenticated user maintains private conversation threads. The affected control.py module dispatches conversation actions keyed on a client-supplied conversation identifier. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key, a classic IDOR): the server trusts the conversation ID passed from the client as the sole selector and performs the read/delete/rename/publish operation without checking it against the current session's user ownership, so the user-controlled key alone determines which record is accessed.

Know when Kotaemon gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.1 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

Cross-user IDOR needs an authenticated account (PR:L) and knowledge/enumeration of conversation IDs (AC:H); high confidentiality and integrity from reading and deleting/renaming others' conversations, no availability metric.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Kotaemon through 0.12.0 fails to properly validate conversation ownership in select_conv, delete_conv, rename_conv, and on_set_public_conversation functions in control.py. Attackers can read other users' chat histories, delete conversations, or rename conversations by supplying arbitrary conversation identifiers without proper authorization checks.

Executive ViewAI

Why It Matters

Kotaemon versions through 0.12.0 contain a critical broken access control vulnerability in conversation handlers that allows any authenticated application user to view, delete, or rename conversations owned by other users, directly exposing sensitive business communications and chat histories to unauthorized access and destruction. Organizations using Kotaemon face immediate risk of data breach, competitive intelligence exposure, and loss of audit trails for regulated conversations. This vulnerability affects confidentiality and integrity of all stored conversations across the platform.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict Kotaemon access to administrators and essential personnel only; disable conversation deletion and renaming functionality in application settings if available; implement comprehensive audit logging for all conversation view, access, and modification events; configure real-time monitoring and alerts for cross-user conversation access patterns; require multi-factor authentication for Kotaemon access; consider network isolation or air-gapping the deployment if conversations contain highly sensitive data.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche open-source self-hosted RAG app, limited enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy