---
id: CVE-2026-69098
title: >-
  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_…
summary: >-
  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_…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-502
published: '2026-08-04'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:42.230'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-69098'
references:
  - url: 'https://github.com/Cinnamon/kotaemon/issues/844'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/kotaemon-unauthenticated-remote-code-execution-via-insecure-deserialization
    label: disclosure@vulncheck.com
tags:
  - nvd
  - exploit-available
epss: 0.00692
epssPercentile: 0.51489
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/0xdak/CVE-2026-69098_exploit'
  checkedAt: '2026-09-23T17:28:48.953Z'
exploitAvailable: true
ingestedAt: '2026-09-23T17:28:14.796Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
