9.3critical
kotaemon 0.12.0 Unauthenticated Remote Code Execution via Insecure Deserialization
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.69% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Cinnamon kotaemon | up to 0.12.0 | CVE List |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | 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 |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
kotaemon hasta la versión 0.12.0 contiene una vulnerabilidad de deserialización insegura en el endpoint check_connection que permite a atacantes no autenticados instanciar clases Python arbitrarias al proporcionar una entrada YAML/JSON manipulada con un campo __type__. Los atacantes pueden explotar esto para sobrescribir el campo __type__ con subprocess.check_output y argumentos arbitrarios, logrando la ejecución remota de código con privilegios de proceso de aplicación.
References
| https://github.com/Cinnamon/kotaemon/issues/844 | exploit, issue-tracking, technical-description | |
| https://www.vulncheck.com/advisories/kotaemon-unauthenticated-remote-code-execution-via-insecure-deserialization | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-69098 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-69098 changed 2026-10-23 | Public domain |