Security Digest · Vulnerability record
CVE-2025-67511: Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool
Cybersecurity AI (CAI) is an open-source framework for building and deploying AI-powered offensive and defensive automation.
CVSS 9.7 Critical EPSS 2.0% · p81
Should you act?
Critical and remotely reachable
No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- 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.
From the GitHub advisory
Summary
A command injection vulnerability is present in the function tool runsshcommandwithcredentials() available to AI agents.
Details
This is the source code of the function tool runsshcommandwithcredentials() (code):
Note how only password and command inputs are escaped to prevent shell injection; while username, host and port values are left injectable.
Weakness type: CWE-77.
Product: cai-framework (PyPI) · Assigned by: GitHub_M · Published: 2025-12-10
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| PyPI | cai-framework | <= 0.5.9 | none listed |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| aliasrobotics | cai | <= 0.5.9 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_M | 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 | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Privileges required: none (no login)
- User interaction: required (a user must click/open something)
- Scope: changed (can affect other components)
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- 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.
Timeline
- — GitHub-reviewed advisory GHSA-4c65-9gqf-4w8h published (critical)
- — CVE record published by GitHub_M
- — CVE record last updated
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vulnerability records
- GitHub Advisory GHSA-4c65-9gqf-4w8h github.com
- CVE.org record CVE-2025-67511 cve.org
- NVD entry CVE-2025-67511 nvd.nist.gov
Other references from the CVE record and advisory
- github.com github.com
- github.com github.com
- hacktivesecurity.com hacktivesecurity.com