Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed check_connection endpoint
-
DeliveryCraft YAML/JSON with __type__ set to subprocess.check_output
-
ExploitSubmit payload to trigger deserialization
-
ExecutionApplication instantiates malicious object
-
PersistArbitrary command executes as app process
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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.
Articles & Coverage 1
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Plaintext password storage in Kotaemon 0.11.0 in the client's localStorage. Rated high severity (CVSS 7.5), this vulnera
An issue was discovered in Cinnamon kotaemon 0.11.0. Rated medium severity (CVSS 6.5), this vulnerability is remotely ex
Cross site scripting (XSS) vulnerability in Kotaemon 0.11.0 allowing attackers to execute arbitrary code via a crafted P
Broken access control in Kotaemon through 0.12.0 lets any user act on conversations they do not own by supplying arbitra
Broken access control in Cinnamon's Kotaemon (all versions up to and including v0.12.0) allows any authenticated user on
EUVD-2026-52740
GHSA-5cg2-9v3x-66cv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB