---
title: "CVE-2025-67511: Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool"
url: https://erroneo.us/security/cve/CVE-2025-67511/
description: "CVE-2025-67511 (cai-framework (PyPI)): Cybersecurity AI (CAI) is an open-source framework for building and deploying AI-powered offensive and defensive…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-12-10
date_modified: 2025-12-11
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-67511"
kev: false
cvss: 9.7
epss: 0.02022
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 2.0% , percentile 81: FIRST’s model estimates a 2.0% chance of exploitation activity in the next 30 days, higher than 81% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Only applies if your dependency tree includes cai-framework (PyPI) <= 0.5.9, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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 runsshcommandwithcredentials() function, which is available to AI agents. Only password and command inputs are escaped in runsshcommandwithcredentials 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

- PyPI `cai-framework` <= 0.5.9 → fixed: none listed

## Affected products (CVE record)

- aliasrobotics cai: <= 0.5.9

## Severity

- GitHub_M CVSS 3.1: 9.7 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.02% probability of exploitation activity in the next 30 days; percentile 81.

## Sources

- [GitHub Advisory GHSA-4c65-9gqf-4w8h](https://github.com/advisories/GHSA-4c65-9gqf-4w8h)
- [CVE.org record CVE-2025-67511](https://www.cve.org/CVERecord?id=CVE-2025-67511)
- [NVD entry CVE-2025-67511](https://nvd.nist.gov/vuln/detail/CVE-2025-67511)
- [github.com](https://github.com/aliasrobotics/cai/security/advisories/GHSA-4c65-9gqf-4w8h)
- [github.com](https://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c)
- [hacktivesecurity.com](https://www.hacktivesecurity.com/blog/2025/12/10/cve-2025-67511-tricking-a-security-ai-agent-into-pwning-itself)

---
Source page: https://erroneo.us/security/cve/CVE-2025-67511/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
