Skip to main content

kotaemon EUVDEUVD-2026-52740

| CVE-2026-69098 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-08-04 VulnCheck GHSA-5cg2-9v3x-66cv
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed check_connection endpoint
  2. Delivery
    Craft YAML/JSON with __type__ set to subprocess.check_output
  3. Exploit
    Submit payload to trigger deserialization
  4. Execution
    Application instantiates malicious object
  5. Persist
    Arbitrary command executes as app process
  6. Impact
    Full host compromise / data access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The check_connection endpoint must be network-reachable by the attacker, and the target must be running kotaemon at or below version 0.12.0. Exploitation requires no authentication, no user interaction, and no non-default feature toggle per the description - the insecure __type__-based deserialization is inherent to the vulnerable endpoint. The only real limiting factor is exposure of the endpoint (deployments fully firewalled from untrusted networks, or fronted by authentication, are not directly exploitable), plus the achievable impact being bounded by the privileges of the application process.

Impact

The signals align toward genuine high priority for exposed instances. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) indicates network-reachable, low-complexity, unauthenticated exploitation with full confidentiality, integrity, and availability impact on the vulnerable system - consistent with the described unauthenticated RCE, and public exploit code is available, lowering the barrier to attack. No EPSS score was provided in the input, and there is no CISA KEV listing, so this is not confirmed as actively exploited - POC availability and active exploitation are distinct signals. The primary mitigating factor is not technical difficulty but exposure: kotaemon is a niche RAG application, so real-world risk is concentrated in internet-facing or shared-network deployments rather than being widespread. No conflicts were found between the CVSS vector and the description; both point to unauthenticated network exploitation.

Exploit ScenarioDerived

An attacker locates an internet-facing kotaemon instance and sends a crafted request to the check_connection endpoint with a YAML/JSON payload whose __type__ field is set to subprocess.check_output and whose arguments specify a shell command. The application deserializes and instantiates the object, executing the command with the app's privileges - no authentication or user interaction required. Publicly available exploit code makes this trivially reproducible.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 04, 2026

Remote code execution in kotaemon (Cinnamon) versions through 0.12.0 allows unauthenticated attackers to run arbitrary commands via the check_connection endpoint, which insecurely deserializes attacker-supplied YAML/JSON. By setting the __type__ field to subprocess.check_output with chosen arguments, an attacker instantiates arbitrary Python objects and executes OS commands with the application's process privileges. Publicly available exploit code exists (VulnCheck advisory and upstream issue), and the CVSS 4.0 base score is 9.3, though there is no public exploit identified as actively exploited.

RemediationAI

No vendor-released patched version is identified in the provided data (upstream tracking exists at https://github.com/Cinnamon/kotaemon/issues/844); monitor that issue and the project repository for a fixed release beyond 0.12.0 and upgrade as soon as one is published. As immediate compensating controls, restrict network access to the kotaemon application so the check_connection endpoint is not reachable by untrusted clients - place it behind an authenticating reverse proxy or VPN and block direct internet exposure (trade-off: breaks any intended anonymous access). Where feasible, disable or firewall the check_connection endpoint specifically until a patch is available (trade-off: connection-testing functionality is lost), and run the application under a low-privilege, sandboxed service account to limit the blast radius of any RCE. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/kotaemon-unauthenticated-remote-code-execution-via-insecure-deserialization) for authoritative guidance.

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 RAG (retrieval-augmented generation) application/UI for building document question-answering systems over LLMs, written in Python. The root cause is CWE-502 (Deserialization of Untrusted Data): the check_connection endpoint reconstructs Python objects from user-controlled structured input by honoring a __type__ discriminator field, effectively using it as a dynamic class/callable dispatch. Because the type is not restricted to a safe allowlist, an attacker can name any importable callable - here subprocess.check_output - turning object hydration into arbitrary code execution. Per the CPE data, the affected product is cpe:2.3:a:cinnamon:kotaemon across all versions up to and including 0.12.0.

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.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Unauthenticated network-reachable endpoint with low-complexity deserialization yields PR:N/AC:L/AV:N; RCE gives full C/I/A on the app host with no cross-system scope change.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

kotaemon through 0.12.0 contains an insecure deserialization vulnerability in the check_connection endpoint that allows unauthenticated attackers to instantiate arbitrary Python classes by supplying crafted YAML/JSON input with a __type__ field. Attackers can exploit this to override the __type__ field with subprocess.check_output and arbitrary arguments, achieving remote code execution with application process privileges.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

kotaemon (Cinnamon) versions through 0.12.0 contain a critical remote code execution vulnerability in the check_connection endpoint that allows unauthenticated attackers to execute arbitrary OS commands via insecure YAML/JSON deserialization. With a CVSS score of 9.3 and publicly available exploit code, any internet-facing deployment is at immediate risk of full system compromise. Your organization must inventory all affected instances and implement emergency mitigations immediately, as no vendor patch is currently available.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict or disable network access to the check_connection endpoint via firewall or WAF rules, allowing requests only from trusted internal sources; (2) Deploy network segmentation to limit lateral movement and privilege escalation in the event of exploitation; (3) Implement application-level input filtering to reject payloads containing __type__ or subprocess class references; (4) Enable comprehensive logging and alerting on deserialization errors, subprocess instantiation attempts, and unusual process execution; (5) Run kotaemon in a containerized environment with minimal OS privileges, read-only filesystems, and disabled shell access; (6) Establish daily monitoring of vendor repositories and security advisories for emergency patch releases.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche open-source RAG application, limited enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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