Description
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.
Published: 2026-08-04
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker to exploit an insecure deserialization bug on the kotaemon check_connection endpoint by supplying crafted YAML or JSON payloads containing a special __type__ field. By forcing the application to instantiate arbitrary Python classes, an attacker can overwrite the __type__ with subprocess.check_output and supply malicious arguments, thereby executing arbitrary code with the privileges of the kotaemon process.

Affected Systems

The flaw affects all public releases of the kotaemon application up to and including version 0.12.0. Known affected versions include the full set of releases described by the CPE entries, which are #0.0.0 through #0.4.9. This applies to any installation of Cinnamon:kotaemon that has the check_connection endpoint enabled and reachable over the network.

Risk and Exploitability

The CVSS score is 9.3, indicating a high‑severity remote code execution risk. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, but the lack of exploitation data does not diminish the potential impact. Attackers can reach the vulnerable endpoint without authentication, and the bug allows immediate code execution with application process privileges. The chain of exploitation is straightforward: send a crafted request, trigger deserialization, and run arbitrary commands.

Generated by OpenCVE AI on August 4, 2026 at 19:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest kotaemon release that removes insecure deserialization. If a newer version is not yet available, check the project repository for a backport or fix commit and apply it directly.
  • Configure the network or firewall to restrict access to the check_connection endpoint so that only trusted hosts can reach it, thereby limiting the attack surface.
  • Modify the application configuration or code to reject unknown __type__ values or to use safe deserialization libraries, reducing the risk posed by malformed input.

Generated by OpenCVE AI on August 4, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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.
Title kotaemon 0.12.0 Unauthenticated Remote Code Execution via Insecure Deserialization
First Time appeared Cinnamon
Cinnamon kotaemon
Weaknesses CWE-502
CPEs cpe:2.3:a:cinnamon:kotaemon:0.0.0:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.1.0:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.2.0:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.3.0:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.3.1:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.3.2:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.3.3:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.3.4:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.3.5:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.3.6:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.0:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.1:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.2:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.3:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.4:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.5:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.6:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.7:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.8:*:*:*:*:*:*:*
cpe:2.3:a:cinnamon:kotaemon:0.4.9:*:*:*:*:*:*:*
Vendors & Products Cinnamon
Cinnamon kotaemon
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Cinnamon Kotaemon
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-04T15:15:06.018Z

Reserved: 2026-08-03T10:44:14.336Z

Link: CVE-2026-69098

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T19:45:03Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data