{"id":"CVE-2025-67511","summary":"Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool","details":"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.","aliases":["GHSA-4c65-9gqf-4w8h","PYSEC-2026-302"],"modified":"2026-08-12T03:51:46.772772771Z","published":"2025-12-10T23:18:56.545Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-77"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67511.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67511.json"},{"type":"ADVISORY","url":"https://github.com/aliasrobotics/cai/security/advisories/GHSA-4c65-9gqf-4w8h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67511"},{"type":"FIX","url":"https://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c"},{"type":"ARTICLE","url":"https://www.hacktivesecurity.com/blog/2025/12/10/cve-2025-67511-tricking-a-security-ai-agent-into-pwning-itself"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aliasrobotics/cai","events":[{"introduced":"0"},{"fixed":"09ccb6e0baccf56c40e6cb429c698750843a999c"}],"database_specific":{"cpe":"cpe:2.3:a:aliasrobotics:cybersecurity_ai:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.5.9"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["0.5.9","0.5.8","0.5.7","0.5.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67511.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}