CVE-2026-69098

kotaemon 0.12.0 Unauthenticated Remote Code Execution via Insecure Deserialization

Published Aug 4, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:08 PM
Reserved
Aug 3, 2026, 10:44 AM
Status
Deferred
Published
Aug 4, 2026, 4:16 PM
Modified
Oct 23, 2026, 11:10 PM