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.
| Version | Type | Source | Base | Exp | Imp |
|---|---|---|---|---|---|
| 3.1 | Primary | cve.org | 9.8 | — | — |
| 3.1 | Primary | NVD | 9.8 | 3.9 | 5.9 |
| 4.0 | Primary | cve.org | 9.3 | — | — |
| 4.0 | Secondary | NVD | 9.3 | — | — |
| 4.0 | Secondary | ENISA EUVD | 9.3 | — | — |