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

Critical 9.7 Published Updated

Attackers can execute arbitrary commands via unescaped SSH parameters in the Cybersecurity AI framework's agent tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-67511?

CVE-2025-67511 is a critical command injection vulnerability in aliasrobotics cai, published on 10 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-77

Which versions are affected by CVE-2025-67511?

3 open source packages ship an affected version, including cai-framework. It affects 1 product.

PackageAffectedFixed in
cai-framework PyPIAll versions to 0.5.9None
cai-framework PyPIAll versions to 0.5.9None
cai-framework PyPIAll versions to 0.5.9None

Products include Aliasrobotics Cybersecurity Ai.

How do I fix CVE-2025-67511?

No fix has been published for CVE-2025-67511 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-67511 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-67511 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-4c65-9gqf-4w8h, PYSEC-2026-302.

Is CVE-2025-67511 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free