Command injection in Cybersecurity AI (CAI) run_ssh_command_with_credentials()
Cybersecurity AI (CAI) versions 0.5.9 and below contain a command injection vulnerability in the function run_ssh_command_with_credentials(), which is exposed to CAI AI agents. The implementation escapes only the password and command parameters, but fails to properly neutralize shell metacharacters in the username, host, and port inputs. As a result, an attacker who can influence these parameters can inject additional shell syntax into the constructed SSH invocation, leading to execution of arbitrary commands in the context of the CAI process.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploits
No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A critical command injection vulnerability in Cybersecurity AI (CAI) framework, affecting versions 0.5.9 and below, due to improper input sanitization in the run_ssh_command_with_credentials() function. This allows remote attackers to inject arbitrary commands via username, host, or port parameters.
A critical command injection vulnerability in Cybersecurity AI (CAI) framework versions 0.5.9 and below, allowing attackers to inject commands via unescaped username, host, and port parameters in the run_ssh_command_with_credentials() function.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.