{"answers":{"affected":"3 open source packages ship an affected version, including cai-framework.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25130 exists.","fix":"No fix has been published for CVE-2026-25130 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-25130 is a critical command injection vulnerability in aliasrobotics cai, published on 30 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-25130 and fix it if it is affected.\n\nWhat it is: CVE-2026-25130 is a critical command injection vulnerability in aliasrobotics cai, published on 30 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25130 exists.\n\nAffected packages and fixed versions:\n- cai-framework (PyPI): affected all versions up to 0.5.10; no fix listed\n- cai-framework (PyPI): affected all versions up to 0.5.10; no fix listed\n- cai-framework (PyPI): affected all versions up to 0.5.10; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25130/ (Markdown: https://insights.sbomify.com/CVE-2026-25130/index.md)","id":"CVE-2026-25130","markdown":"https://insights.sbomify.com/CVE-2026-25130/index.md","name":"CVE-2026-25130","record":{"aliases":["GHSA-jfpc-wj3m-qw2m","PYSEC-2026-303"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Cybersecurity AI framework","requires_auth":"none","summary":"Attackers can execute arbitrary commands on the host system by injecting arguments into the find_file tool, bypassing safety mechanisms.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.7,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2026-02-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-03T22:56:18Z","kind":"github_poc","ref":"https://github.com/mbanyamer/CVE-2026-25130-Cybersecurity-AI-CAI-Framework-0.5.10","stars":0,"title":null}],"tier":"weaponised"},"has_fix":false,"headline":"Cybersecurity AI vulnerable to command Injection through argument injection in find_file Agent tool","id":"CVE-2026-25130","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"OpenEMR has Broken Access Control in Procedures Configuration","id":"CVE-2026-25131"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.10"],"package":"cai-framework","purl":null,"source":"GHSA-jfpc-wj3m-qw2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.10"],"package":"cai-framework","purl":"pkg:pypi/cai-framework","source":"GHSA-jfpc-wj3m-qw2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.10"],"package":"cai-framework","purl":"pkg:pypi/cai-framework","source":"PYSEC-2026-303"}],"prev":{"headline":"PsySH has Local Privilege Escalation via CWD .psysh.php auto-load","id":"CVE-2026-25129"},"products":["cai"],"published":"2026-01-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-02","vendors":["aliasrobotics"]},"summary":"Attackers can execute arbitrary commands on the host system by injecting arguments into the find_file tool, bypassing safety mechanisms.","url":"https://insights.sbomify.com/CVE-2026-25130/"}