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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/aliasrobotics/cai/security/advisories/GHSA-4c65-9gqf-4w8h exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c patch
- github.com product
- https://www.hacktivesecurity.com/blog/2025/12/10/cve-2025-67511-tricking-a-security-ai-agent-into-pwning-itself exploit press-media-coverage third-party-advisory
- pypi.org product
- github.com vendor-advisory