CVE-2026-69098
Received Received - Intake

Insecure Deserialization in Kotaemon Leading to Remote Code Execution

Vulnerability report for CVE-2026-69098, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-04

Last updated on: 2026-08-04

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-04
Last Modified
2026-08-04
Generated
2026-08-04
AI Q&A
2026-08-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
kotaemon kotaemon to 0.12.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-69098 is an insecure deserialization vulnerability in kotaemon versions up to 0.12.0. It allows unauthenticated attackers to execute arbitrary code remotely by sending crafted YAML or JSON input with a __type__ field to the check_connection endpoint. The application improperly deserializes this input, enabling attackers to override the __type__ field with malicious Python classes like subprocess.check_output to run shell commands with the application's privileges.

Detection Guidance

Check if kotaemon is running and if the /check_connection endpoint is exposed. Use curl to send a test payload to the endpoint: curl -X POST http://<target>/check_connection -H 'Content-Type: application/json' -d '{"__type__": "subprocess.check_output", "args": ["whoami"]}' to see if it executes commands.

Impact Analysis

This vulnerability allows attackers to execute arbitrary commands on the server where kotaemon is running. Since no authentication is required, attackers can gain full control over the system, steal data, install malware, or disrupt services. The impact includes complete system compromise with the same privileges as the kotaemon application.

Compliance Impact

This vulnerability likely violates compliance requirements for GDPR and HIPAA due to unauthorized remote code execution. GDPR requires protection against unauthorized access to personal data, while HIPAA mandates safeguards for protected health information. Exploitation could lead to data breaches, resulting in legal penalties, fines, and reputational damage for affected organizations.

Mitigation Strategies

Immediately update kotaemon to a patched version if available. If not, disable the /check_connection endpoint or restrict access via firewall rules. Remove safe=False from deserialize() calls and implement proper input validation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-69098. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart