# CVE-2025-67511: Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.02%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-12-09T22:47:32.000Z
- Modified: 2026-10-08T10:10:00.227Z
- Also known as: GHSA-4c65-9gqf-4w8h, PYSEC-2026-302
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- aliasrobotics cai: <= 0.5.9
- cai-framework (PyPI): up to 0.5.9
- aliasrobotics cybersecurity_ai: up to 0.5.9

## Every score

- GitHub_M: CVSS:3.1 9.7 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.6 Critical `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> (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://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c> (patch, 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)

## Sources

- CVE List: [CVE-2025-67511](https://www.cve.org/CVERecord?id=CVE-2025-67511), CVE Terms of Use, modified 2025-12-11
- GitHub Advisory Database: [GHSA-4c65-9gqf-4w8h](https://github.com/advisories/GHSA-4c65-9gqf-4w8h), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2025-67511](https://nvd.nist.gov/vuln/detail/CVE-2025-67511), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2026-302](https://osv.dev/vulnerability/PYSEC-2026-302), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-67511 · Whole record: https://cve.day/CVE-2025-67511.json · Rebuilt by cve.day 2026-11-25T22:59:09.212Z
