{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-62222 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-62222 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-62222 is a high-severity command injection vulnerability in Microsoft Visual Studio Code CoPilot Chat Extension, published on 11 Nov 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-62222 and fix it if it is affected.\n\nWhat it is: CVE-2025-62222 is a high-severity command injection vulnerability in Microsoft Visual Studio Code CoPilot Chat Extension, published on 11 Nov 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: There is no known exploitation of CVE-2025-62222 in the wild and no public exploit code.\n\nAffected product: Microsoft Visual Studio Code CoPilot Chat Extension. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-62222/ (Markdown: https://insights.sbomify.com/CVE-2025-62222/index.md)","id":"CVE-2025-62222","markdown":"https://insights.sbomify.com/CVE-2025-62222/index.md","name":"CVE-2025-62222","record":{"aliases":["GHSA-hcvg-jrfj-vhqx"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"VS Code Copilot Extension","requires_auth":"none","summary":"An attacker can execute arbitrary code remotely via command injection in the Visual Studio Code Copilot Chat Extension.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"github_copilot_chat","vendor":"microsoft"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code CoPilot Chat Extension allows an unauthorized attacker to execute code over a network.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-11-26","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-26T20:14:34Z","kind":"github_poc","ref":"https://github.com/SadisticNight/PoC-CVE-2025-62222","stars":1,"title":null}],"tier":"poc_unverified"},"has_fix":null,"headline":"Agentic AI and Visual Studio Code Remote Code Execution Vulnerability","id":"CVE-2025-62222","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Microsoft Edge (Chromium-based) for Mac Spoofing Vulnerability","id":"CVE-2025-62223"},"packages":[],"prev":{"headline":"Microsoft Windows Use After Free","id":"CVE-2025-62221"},"products":["Microsoft Visual Studio Code CoPilot Chat Extension"],"published":"2025-11-11","related":[{"cvss_score":7.1,"headline":"CoPilot Chat Security Feature Bypass Vulnerability","id":"CVE-2026-65675","kev_date_added":null,"published":"2026-08-11"},{"cvss_score":6.8,"headline":"Microsoft Visual Studio Code CoPilot Chat Extension Security Feature Bypass Vulnerability","id":"CVE-2025-62449","kev_date_added":null,"published":"2025-11-11"},{"cvss_score":6.5,"headline":"Microsoft Visual Studio Code CoPilot Chat Security Feature Bypass Vulnerability","id":"CVE-2026-50519","kev_date_added":null,"published":"2026-06-19"},{"cvss_score":5.7,"headline":"GitHub Copilot and Visual Studio Code Information Disclosure Vulnerability","id":"CVE-2026-23653","kev_date_added":null,"published":"2026-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Microsoft"]},"summary":"An attacker can execute arbitrary code remotely via command injection in the Visual Studio Code Copilot Chat Extension.","url":"https://insights.sbomify.com/CVE-2025-62222/"}