{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-67511","id":"CVE-2025-67511","title":"Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool","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","descriptionLong":"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":"2025-12-10T23:18:56.545Z","updated":"2026-10-28T02:30:44.430510303Z","reserved":"2025-12-08T21:46:24.993Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["aliasrobotics cai"],"affectedProducts":[{"vendor":"aliasrobotics","product":"cai","defaultStatus":null,"versions":[{"version":"<= 0.5.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"cai-framework","purl":"pkg:pypi/cai-framework","ranges":["<=0.5.9"],"fixed":[],"advisory":"GHSA-4c65-9gqf-4w8h"}],"cwes":["CWE-77"],"aliases":["GHSA-4c65-9gqf-4w8h","PYSEC-2026-302"],"references":[{"url":"https://github.com/aliasrobotics/cai/security/advisories/GHSA-4c65-9gqf-4w8h","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://www.hacktivesecurity.com/blog/2025/12/10/cve-2025-67511-tricking-a-security-ai-agent-into-pwning-itself","tags":["x_refsource_MISC","Exploit","Press/Media Coverage","Third Party Advisory","article","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67511.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67511","tags":["advisory"]},{"url":"https://github.com/aliasrobotics/cai","tags":["package"]},{"url":"https://pypi.org/project/cai-framework","tags":["package"]},{"url":"https://github.com/advisories/GHSA-4c65-9gqf-4w8h","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.02022,"epssPercentile":0.81447,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-67511","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67511","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-67511","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4c65-9gqf-4w8h","ok":true,"note":"GHSA-4c65-9gqf-4w8h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-67511","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}