Security Digest · Vulnerability record

CVE-2026-25130: CAI find_file Agent Tool has Command Injection Vulnerability Through Argument Injection

Cybersecurity AI (CAI) is a framework for AI Security.

CVSS 9.7 Critical EPSS 0.9% · p60

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 0.9%, percentile 60: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 60% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
  • Only applies if your dependency tree includes cai-framework (PyPI) <= 0.5.10, no fixed version listed. Check your lockfile, including transitive dependencies.

What it is

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 findfile() 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.

From the GitHub advisory

Summary

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.

Vulnerable Component

Function: findfile() in src/cai/tools/reconnaissance/filesystem.py code

Attack Vector

Weakness type: CWE-78.

Product: cai-framework (PyPI) · Assigned by: GitHub_M · Published: 2026-01-30

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPIcai-framework<= 0.5.10none listed
VendorProductAffected versions (per CVE record)
aliasroboticscai<= 0.5.10

Severity scores

Scored byCVSSScoreVector
GitHub_M3.19.7 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub3.19.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: required (a user must click/open something)
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 0.92% probability of exploitation activity in the next 30 days; percentile 60.

Timeline

  • — CVE record published by GitHub_M
  • — GitHub-reviewed advisory GHSA-jfpc-wj3m-qw2m published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-jfpc-wj3m-qw2m github.com
  2. CVE.org record CVE-2026-25130 cve.org
  3. NVD entry CVE-2026-25130 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. github.com github.com

Critical PyPI advisories · Today’s Security Digest