CVE-2026-69098
CriticalCVSS 9.8Summary
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.
Risk Assessment
The risk to the organization is the possibility of a complete takeover of the application server by an unauthenticated attacker, potentially leading to data theft, system modification, or further attacks within the internal network.
Recommendation
It is recommended to immediately update kotaemon to a version newer than 0.12.0 if available, and to restrict access to the check_connection endpoint to trusted networks only.
Original NVD description (English source)
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.

