CVE-2026-25130 Cybersecurity AI vulnerable to command Injection through argument injection in find_file Agent tool
Attackers can execute arbitrary commands on the host system by injecting arguments into the find_file tool, bypassing safety mechanisms.
- 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-2026-25130?
CVE-2026-25130 is a critical command injection vulnerability in aliasrobotics cai, published on 30 Jan 2026. 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 a framework for AI Security. In versions up to and including 0.5.10, the CAI (Cybersecurity AI) framework contains multiple argument injection vulnerabilities in its function tools. User-controlled input is passed directly to shell commands via `subprocess.Popen()` with `shell=True`, allowing attackers to execute arbitrary commands on the host system. The `find_file()` tool executes without requiring user approval because find is considered a "safe" pre-approved command. This means an attacker can achieve Remote Code Execution (RCE) by injecting malicious arguments (like -exec) into the args parameter, completely bypassing any human-in-the-loop safety mechanisms. Commit e22a1220f764e2d7cf9da6d6144926f53ca01cde contains a fix.
Weakness: CWE-78
Which versions are affected by CVE-2026-25130?
3 open source packages ship an affected version, including cai-framework.
| Package | Affected | Fixed in |
|---|---|---|
cai-framework PyPI | All versions to 0.5.10 | None |
cai-framework PyPI | All versions to 0.5.10 | None |
cai-framework PyPI | All versions to 0.5.10 | None |
How do I fix CVE-2026-25130?
No fix has been published for CVE-2026-25130 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-2026-25130 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25130 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-jfpc-wj3m-qw2m, PYSEC-2026-303.