Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Unauthenticated network-reachable endpoint with low-complexity deserialization yields PR:N/AC:L/AV:N; RCE gives full C/I/A on the app host with no cross-system scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Remote code execution in kotaemon (Cinnamon) versions through 0.12.0 allows unauthenticated attackers to run arbitrary commands via the check_connection endpoint, which insecurely deserializes attacker-supplied YAML/JSON. By setting the __type__ field to subprocess.check_output with chosen arguments, an attacker instantiates arbitrary Python objects and executes OS commands with the application's process privileges. Publicly available exploit code exists (VulnCheck advisory and upstream issue), and the CVSS 4.0 base score is 9.3, though there is no public exploit identified as actively exploited.
Technical ContextAI
kotaemon is an open-source RAG (retrieval-augmented generation) application/UI for building document question-answering systems over LLMs, written in Python. The root cause is CWE-502 (Deserialization of Untrusted Data): the check_connection endpoint reconstructs Python objects from user-controlled structured input by honoring a __type__ discriminator field, effectively using it as a dynamic class/callable dispatch. Because the type is not restricted to a safe allowlist, an attacker can name any importable callable - here subprocess.check_output - turning object hydration into arbitrary code execution. Per the CPE data, the affected product is cpe:2.3:a:cinnamon:kotaemon across all versions up to and including 0.12.0.
RemediationAI
No vendor-released patched version is identified in the provided data (upstream tracking exists at https://github.com/Cinnamon/kotaemon/issues/844); monitor that issue and the project repository for a fixed release beyond 0.12.0 and upgrade as soon as one is published. As immediate compensating controls, restrict network access to the kotaemon application so the check_connection endpoint is not reachable by untrusted clients - place it behind an authenticating reverse proxy or VPN and block direct internet exposure (trade-off: breaks any intended anonymous access). Where feasible, disable or firewall the check_connection endpoint specifically until a patch is available (trade-off: connection-testing functionality is lost), and run the application under a low-privilege, sandboxed service account to limit the blast radius of any RCE. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/kotaemon-unauthenticated-remote-code-execution-via-insecure-deserialization) for authoritative guidance.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-502 – Deserialization of Untrusted Data
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52740
GHSA-5cg2-9v3x-66cv