CVE-2026-25130
CRITICAL 9.6CVSS 3.1CAI find_file Agent Tool has Command Injection Vulnerability Through Argument Injection
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.
- Published
- 30 Jan 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-jfpc-wj3m-qw2mPYSEC-2026-303
- Sources
- NVDJSONOSV GHSA-jfpc-wj3m-qw2mJSONOSV PYSEC-2026-303JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | cai-framework | <= 0.5.10 |
References
- https://github.com/aliasrobotics/cai/blob/559de8fcbc2b44f3b0360f35ffdc2bb975e7d7e4/src/cai/tools/reconnaissance/filesystem.py#L60 · WEB
- https://github.com/aliasrobotics/cai/commit/e22a1220f764e2d7cf9da6d6144926f53ca01cde · WEB
- https://github.com/aliasrobotics/cai/security/advisories/GHSA-jfpc-wj3m-qw2m · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25130 · ADVISORY
- https://github.com/aliasrobotics/cai · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/cai-framework/PYSEC-2026-303.yaml · WEB
- https://pypi.org/project/cai-framework · WEB, PACKAGE
- https://github.com/advisories/GHSA-jfpc-wj3m-qw2m · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 30 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Jan 2026)