---
id: CVE-2025-67511
title: >-
  Cybersecurity AI (CAI) is an open-source framework for building and deploying
  AI-powered offensive and defensive automation
summary: >-
  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()
  func…
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-77
vendor: aliasrobotics
product: cybersecurity_ai
affected:
  - cybersecurity_ai <= 0.5.9
published: '2025-12-11'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T10:10:00.227'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-67511'
references:
  - url: >-
      https://github.com/aliasrobotics/cai/commit/09ccb6e0baccf56c40e6cb429c698750843a999c
    label: security-advisories@github.com
  - url: >-
      https://github.com/aliasrobotics/cai/security/advisories/GHSA-4c65-9gqf-4w8h
    label: security-advisories@github.com
  - url: >-
      https://www.hacktivesecurity.com/blog/2025/12/10/cve-2025-67511-tricking-a-security-ai-agent-into-pwning-itself
    label: security-advisories@github.com
tags:
  - nvd
  - exploit-available
epss: 0.02022
epssPercentile: 0.80354
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/edoardottt/CVE-2025-67511'
  checkedAt: '2026-10-08T10:29:02.613Z'
exploitAvailable: true
ingestedAt: '2026-10-08T10:28:24.550Z'
---

## Overview

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.

## Affected

- `cybersecurity_ai <= 0.5.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
