CVE-2026-51858
Deferred Deferred - Pending Action

TerminalToolkit Shell Command Injection in camel-ai

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

Publication date: 2026-09-30

Last updated on: 2026-10-02

Assigner: MITRE

Description

In camel-ai camel 0.2.91a1, v0.2.91a2 and v0.2.91a3, TerminalToolkit.shell_exec allows prompt-driven shell command execution without an approval boundary.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-30
Last Modified
2026-10-02
Generated
2026-10-19
AI Q&A
2026-10-01
EPSS Evaluated
2026-10-18
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
camel-ai camel 0.2.91a1
camel-ai camel 0.2.91a2
camel-ai camel 0.2.91a3

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in camel-ai camel versions 0.2.91a1, v0.2.91a2, and v0.2.91a3 allows TerminalToolkit.shell_exec to execute shell commands through prompts without requiring user approval. This means an attacker could potentially run arbitrary commands on the system by providing specially crafted input.

Detection Guidance

This vulnerability involves TerminalToolkit.shell_exec in camel-ai camel versions 0.2.91a1, 0.2.91a2, and 0.2.91a3 allowing shell command execution without approval. To detect it, check for unauthorized shell commands being executed by inspecting process logs or using commands like ps aux | grep shell_exec or netstat -tulnp to monitor suspicious network activity.

Impact Analysis

This vulnerability could allow unauthorized command execution on your system. If exploited, attackers might gain control over your machine, steal data, install malware, or perform other malicious actions depending on the permissions of the affected application.

Compliance Impact

This vulnerability could lead to data breaches, which may violate GDPR and HIPAA compliance. Unauthorized command execution risks exposing sensitive data, potentially resulting in legal penalties, fines, and reputational damage for organizations handling regulated information.

Mitigation Strategies

Immediately upgrade to a patched version of camel-ai camel beyond v0.2.91a3. If no patch is available, disable TerminalToolkit.shell_exec functionality or remove the affected component from your system to prevent prompt-driven shell command execution.

Chat Assistant

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

EPSS Chart