Vulnerability · Published Dec 10, 2025 · Assigned by GitHub_M
CVE-2025-67511Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool
Critical 9.7
In plain English
A critical-severity command injection in cai from aliasrobotics. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | cai-framework | no fix listed | GHSA-4c65-9gqf-4w8h |
| PyPI | cai-framework | no fix listed | PYSEC-2026-302 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| aliasrobotics | cai | <= 0.5.9 |
Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/aliasrobotics/cai/security/advisories/GHSA-4c65-9gqf-4w8h x_refsource_CONFIRM
- https://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c x_refsource_MISC
- https://www.hacktivesecurity.com/blog/2025/12/10/cve-2025-67511-tricking-a-security-ai-agent-into-pwning-itself x_refsource_MISC