# CVE-2026-25130: Cybersecurity AI vulnerable to command Injection through argument injection in find\_file Agent tool

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.7
- **CVSS:** 9.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 4.14% (percentile 92, 2026-11-26)
- **CWE:** CWE-78
- **Aliases:** EDB-52530, GHSA-jfpc-wj3m-qw2m, PYSEC-2026-303
- **Published:** 2026-01-30T20:15:51.772Z
- **Modified:** 2026-11-23T00:00:00.000Z

## Who should check

- Projects that depend on PyPI package cai-framework (\<= 0.5.10)
- Anyone running aliasrobotics cai \<= 0.5.10

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

## Affected and fixed versions

- PyPI `cai-framework`: affected \<= 0.5.10; fixed no fix listed yet (osv)
- aliasrobotics cai: \<= 0.5.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-25130. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-25130.md
Affected: cai-framework <= 0.5.10
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for cai-framework (PyPI), aliasrobotics cai: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-25130 being exploited?

There is no confirmed exploitation: CVE-2026-25130 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 4.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-25130?

Critical: CVSS 9.7 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-25130?

cai-framework \<= 0.5.10.

### Is there a fix for CVE-2026-25130?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-25130?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/aliasrobotics/cai/security/advisories/GHSA-jfpc-wj3m-qw2m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-25130>
- vendor: <https://github.com/advisories/GHSA-jfpc-wj3m-qw2m>
- patch: <https://github.com/aliasrobotics/cai/commit/e22a1220f764e2d7cf9da6d6144926f53ca01cde>
- exploit: <https://www.exploit-db.com/exploits/52530>
- other: <https://github.com/aliasrobotics/cai/blob/559de8fcbc2b44f3b0360f35ffdc2bb975e7d7e4/src/cai/tools/reconnaissance/filesystem.py#L60>
- other: <https://github.com/aliasrobotics/cai>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/cai-framework/PYSEC-2026-303.yaml>
- other: <https://pypi.org/project/cai-framework>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-25130>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jfpc-wj3m-qw2m> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-303> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/52530>

HTML: <https://flawdb.com/CVE-2026-25130> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-25130>
