{"answers":{"affected":"3 open source packages ship an affected version, including cai-framework. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-67511 exists.","fix":"No fix has been published for CVE-2025-67511 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-67511 is a critical command injection vulnerability in aliasrobotics cai, published on 10 Dec 2025. 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-2025-67511 and fix it if it is affected.\n\nWhat it is: CVE-2025-67511 is a critical command injection vulnerability in aliasrobotics cai, published on 10 Dec 2025. 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-2025-67511 exists.\n\nAffected packages and fixed versions:\n- cai-framework (PyPI): affected all versions up to 0.5.9; no fix listed\n- cai-framework (PyPI): affected all versions up to 0.5.9; no fix listed\n- cai-framework (PyPI): affected all versions up to 0.5.9; 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-2025-67511/ (Markdown: https://insights.sbomify.com/CVE-2025-67511/index.md)","id":"CVE-2025-67511","markdown":"https://insights.sbomify.com/CVE-2025-67511/index.md","name":"CVE-2025-67511","record":{"aliases":["GHSA-4c65-9gqf-4w8h","PYSEC-2026-302"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Cybersecurity AI framework","requires_auth":"none","summary":"Attackers can execute arbitrary commands via unescaped SSH parameters in the Cybersecurity AI framework's agent tool.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cybersecurity_ai","vendor":"aliasrobotics"}],"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-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Cybersecurity AI (CAI) is an open-source framework for building and deploying AI-powered offensive and defensive automation. Versions 0.5.9 and below are vulnerable to Command Injection through the run_ssh_command_with_credentials() function, which is  available to AI agents. Only password and command inputs are escaped in run_ssh_command_with_credentials to prevent shell injection; while username, host and port values are injectable. This issue does not have a fix at the time of publication.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2025-12-09","github_poc":1,"max_poc_stars":7,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-12-09T16:13:33Z","kind":"github_poc","ref":"https://github.com/edoardottt/CVE-2025-67511","stars":7,"title":"CVE-2025-67511: Tricking a Security AI Agent Into Pwning Itself"}],"tier":"weaponised"},"has_fix":false,"headline":"Cybersecurity AI (CAI) vulnerable to Command Injection in run_ssh_command_with_credentials Agent tool","id":"CVE-2025-67511","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"The vulnerability is dependency-based.","id":"CVE-2025-67512"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.9"],"package":"cai-framework","purl":null,"source":"GHSA-4c65-9gqf-4w8h"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.9"],"package":"cai-framework","purl":"pkg:pypi/cai-framework","source":"GHSA-4c65-9gqf-4w8h"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.9"],"package":"cai-framework","purl":"pkg:pypi/cai-framework","source":"PYSEC-2026-302"}],"prev":{"headline":"MySQLWriteTool allows arbitrary/destructive SQL when exposed to untrusted prompts (agent “footgun”)","id":"CVE-2025-67510"},"products":["cai"],"published":"2025-12-10","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":"US public information, NVD API terms","name":"NVD"},{"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-11","vendors":["aliasrobotics"]},"summary":"Attackers can execute arbitrary commands via unescaped SSH parameters in the Cybersecurity AI framework's agent tool.","url":"https://insights.sbomify.com/CVE-2025-67511/"}