{"id":"CVE-2026-25130","summary":"Cybersecurity AI vulnerable to command Injection through argument injection in find_file Agent tool","details":"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.","aliases":["GHSA-jfpc-wj3m-qw2m"],"modified":"2026-04-10T05:39:54.539284Z","published":"2026-01-30T20:15:51.772Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25130.json","cwe_ids":["CWE-78"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/aliasrobotics/cai/blob/559de8fcbc2b44f3b0360f35ffdc2bb975e7d7e4/src/cai/tools/reconnaissance/filesystem.py#L60"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25130.json"},{"type":"ADVISORY","url":"https://github.com/aliasrobotics/cai/security/advisories/GHSA-jfpc-wj3m-qw2m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25130"},{"type":"FIX","url":"https://github.com/aliasrobotics/cai/commit/e22a1220f764e2d7cf9da6d6144926f53ca01cde"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aliasrobotics/cai","events":[{"introduced":"0"},{"fixed":"e22a1220f764e2d7cf9da6d6144926f53ca01cde"}]}],"versions":["0.5.6","0.5.7","0.5.8","0.5.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25130.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}