CVE-2025-67511
CRITICAL 9.6CVSS 3.1Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool
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.
- Published
- 11 Dec 2025
- Last modified
- 8 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-77
- Also known as
- GHSA-4c65-9gqf-4w8hPYSEC-2026-302
- Sources
- NVDJSONOSV GHSA-4c65-9gqf-4w8hJSONOSV PYSEC-2026-302JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | aliasrobotics | cybersecurity_aicpe:2.3:a:aliasrobotics:cybersecurity_ai:*:*:*:*:*:*:*:* |
<= 0.5.9 | |
| OSV | PyPI | cai-framework | <= 0.5.9 |
References
- https://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c · Patch, WEB
- https://github.com/aliasrobotics/cai/security/advisories/GHSA-4c65-9gqf-4w8h · Exploit, Vendor Advisory, WEB
- 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, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-67511 · ADVISORY
- https://github.com/aliasrobotics/cai · PACKAGE
- https://pypi.org/project/cai-framework · PACKAGE
- https://github.com/advisories/GHSA-4c65-9gqf-4w8h · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 11 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Dec 2025)