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.
Published: 2026-09-30
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary shell command execution
Action: Upgrade or patch
AI Analysis

Impact

TerminalToolkit.shell_exec in camel-ai camel versions 0.2.91a1 through 0.2.91a3 permits the execution of arbitrary shell commands when a user is presented with a prompt, but the code does not enforce any approval or validation boundary. This flaw is a classic example of code injection (CWE-94), which could compromise the confidentiality, integrity, or availability of the system where the vulnerable component runs by allowing an attacker to execute arbitrary OS commands.

Affected Systems

The issue affects the camel-ai camel library in versions 0.2.91a1, 0.2.91a2, and 0.2.91a3. No other versions were listed as affected by the CVE entry. The specific vendor product name is camel-ai camel.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical severity, and the EPSS of < 1% suggests that while widespread exploitation is unlikely, the vulnerability should still be addressed promptly. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local or remote prompt that initiates TerminalToolkit.shell_exec; the lack of an approval boundary means the attacker can inject any shell command. With administrative or sufficient user privileges, exploitation could lead to full system compromise.

Generated by OpenCVE AI on October 2, 2026 at 23:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update camel-ai camel to a version that fixes TerminalToolkit.shell_exec or remove the vulnerable library entirely
  • Disable or restrict calls to TerminalToolkit.shell_exec and enforce an approval boundary before any command is executed
  • Ensure that only trusted users or services have the ability to trigger shell execution, and run the application with the least privileged account needed

Generated by OpenCVE AI on October 2, 2026 at 23:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
Title Code Injection via TerminalToolkit.shell_exec in camel-ai camel Leadingary Shell Execution

Fri, 02 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
Title Arbitrary Shell Command Execution via TerminalToolkit.shell_exec without Approval Boundary
Weaknesses CWE-78

Fri, 02 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 23:30:00 +0000

Type Values Removed Values Added
Title Arbitrary Shell Command Execution via TerminalToolkit.shell_exec without Approval Boundary
Weaknesses CWE-78

Wed, 30 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
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.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-02T19:18:07.624Z

Reserved: 2026-06-08T00:00:00.000Z

Link: CVE-2026-51858

cve-icon Vulnrichment

Updated: 2026-10-02T19:17:16.263Z

cve-icon NVD

Status : Deferred

Published: 2026-09-30T21:17:11.777

Modified: 2026-10-02T20:17:02.550

Link: CVE-2026-51858

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T23:30:10Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')