CVE-2026-19266
Received Received - Intake

Command Injection in Kirachon Context-Engine

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

Publication date: 2026-08-08

Last updated on: 2026-08-08

Assigner: VulDB

Description

A vulnerability was determined in Kirachon context-engine up to 1.9.0. This affects the function execGitCommand of the file src/mcp/utils/gitUtils.ts of the component review-git-diff Endpoint. Executing a manipulation of the argument args can lead to command injection. Upgrading to version 1.9.1 mitigates this issue. This patch is called e0729dcfd3a2b1682a7bff86e7174852c03419ba. It is advisable to upgrade the affected component.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
kirachon context-engine to 1.9.0 (inc)
kirachon context-engine 1.9.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a command injection flaw in Kirachon context-engine up to version 1.9.0. It exists in the POST /review-git-diff endpoint where user-controlled inputs for target, base, and include_patterns parameters are passed into a git diff command execution without proper sanitization. The git process is spawned with shell: true, allowing shell metacharacters in inputs to execute arbitrary OS commands with the privileges of the Context Engine server process.

Detection Guidance

Check if the affected component context-engine-mcp-server version 1.9.0 is installed. Inspect the file src/mcp/utils/gitUtils.ts for the function execGitCommand and verify if shell: true is used in spawn calls. Review server logs for POST requests to /review-git-diff with parameters target, base, or include_patterns containing shell metacharacters or suspicious commands.

Impact Analysis

An attacker could exploit this to execute arbitrary commands on the system running the Context Engine server. This could lead to unauthorized access, data theft, or system compromise depending on the server's privileges. The impact is limited to systems running vulnerable versions of context-engine-mcp-server (1.9.0 or earlier).

Compliance Impact

This vulnerability could lead to unauthorized access or data exfiltration, which may violate GDPR's integrity and confidentiality requirements or HIPAA's security rule. Organizations using vulnerable versions may face compliance violations if exploited, potentially resulting in fines or legal consequences.

Mitigation Strategies

Upgrade context-engine-mcp-server to version 1.9.1 or later. Ensure all git command executions use shell: false and validate git references and path patterns with functions like validateSafeGitRef(). Apply input sanitization to all parameters passed to git commands to prevent command injection.

Chat Assistant

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

EPSS Chart