CVE-2026-51858 Details
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.
A code execution vulnerability has been identified in camel-ai versions 0.2.91a1, 0.2.91a2, and 0.2.91a3. The issue arises in the TerminalToolkit component, specifically within the shell_exec method, which allows prompt-driven execution of shell commands without any approval or oversight. This lack of a safety boundary can lead to unintended command execution in the user's working directory.
Users can update to the latest version of camel-ai, where this vulnerability has been addressed by adding an optional approval requirement before executing shell commands.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 30, 2026CISA-ADP
Assessed Oct 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/camel-ai/camel/issues/4038 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://gist.github.com/Ro1ME/1efc7b63bded3e4d39c54ff7b0caedf4 | [email protected] | Technical Description |
| https://github.com/camel-ai/camel/issues/4038 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| camel-ai camel | 0.2.91a1 0.2.91a2 0.2.91a3 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 2, 2026 | CVE Modified | CISA-ADP |
| Sep 30, 2026 | New CVE Received | [email protected] |
Volerion