CVE-2026-25130: Cai framework · CAI find_file Agent Tool has Command Injection Vulnerability Through Argument Injection
Affects cai-frameworkSource GCVE Database
Not known to be exploited · CVSS 9.7 Critical.
Data as of 27 Oct 2026, 17:58 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 59% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIcai-framework | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch addressing this vulnerability is available in the source repository but was not published to PyPI at the time of disclosure. Users should apply the patch from the repository commit e22a122 or later to remediate the issue. Until patched, avoid using the find_file() tool with untrusted input or disable it to prevent exploitation.
Description
The CAI framework's find_file tool has a command injection vulnerability due to unsanitized user input passed to a shell command with shell=True. This allows attackers to execute arbitrary commands by injecting malicious arguments such as the -exec flag. The vulnerability enables remote code execution without user approval, bypassing safety mechanisms. A patch exists but was not published to PyPI at the time of disclosure.
References
- github.com/aliasrobotics/cai/security/advisories/GHSA-jfpc-wj3m-qw2m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-25130 (opens in a new tab)
- github.com/aliasrobotics/cai/commit/e22a1220f764e2d7cf9da6d6144926f53ca01cde (opens in a new tab)
- github.com/aliasrobotics/cai (opens in a new tab)
- github.com/aliasrobotics/cai/blob/559de8fcbc2b44f3b0360f35ffdc2bb975e7d7e4/src/cai/tools/reconnaissance/filesystem.py (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/cai-framework/PYSEC-2026-303.yaml (opens in a new tab)
- pypi.org/project/cai-framework (opens in a new tab)