Skip to content

CVE-2025-67511 Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool

CriticalCVSS 9.6 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

Cybersecurity AI (CAI) is an open-source framework for building and deploying AI-powered offensive and defensive automation. Versions 0.5.9 and below are vulnerable to Command Injection through the run_ssh_command_with_credentials() function, which is available to AI agents. Only password and command inputs are escaped in run_ssh_command_with_credentials to prevent shell injection; while username, host and port values are injectable. This issue does not have a fix at the time of publication.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
aliasrobotics cybersecurity ai <= 0.5.9 after 0.5.9 Fixed
pypi cai-framework(PyPI) <= 0.5.9; = 0.3.9; = 0.3.10; = 0.3.11 +14 more after 0.5.9 Fixed
aliasrobotics cai = <= 0.5.9 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi cai-framework(PyPI) <= 0.5.9 No fix listed
pypi cai-framework(PyPI) = 0.3.10 No fix listed
pypi cai-framework(PyPI) = 0.3.11 No fix listed
pypi cai-framework(PyPI) = 0.3.12 No fix listed
pypi cai-framework(PyPI) = 0.3.13 No fix listed
pypi cai-framework(PyPI) = 0.3.14 No fix listed
pypi cai-framework(PyPI) = 0.3.9 No fix listed
pypi cai-framework(PyPI) = 0.4.0 No fix listed
pypi cai-framework(PyPI) = 0.5.0 No fix listed
pypi cai-framework(PyPI) = 0.5.1 No fix listed
pypi cai-framework(PyPI) = 0.5.2 No fix listed
pypi cai-framework(PyPI) = 0.5.3 No fix listed
pypi cai-framework(PyPI) = 0.5.4 No fix listed
pypi cai-framework(PyPI) = 0.5.5 No fix listed
pypi cai-framework(PyPI) = 0.5.6 No fix listed
pypi cai-framework(PyPI) = 0.5.7 No fix listed
pypi cai-framework(PyPI) = 0.5.8 No fix listed
pypi cai-framework(PyPI) = 0.5.9 No fix listed
aliasrobotics cai = <= 0.5.9 No fix listed
aliasrobotics cybersecurity ai <= 0.5.9 No fix listed

References