{"id":"CVE-2026-120782","kind":"vulnerability","aliases":["CVE-2026-120782"],"related":[],"title":"Visual Studio Code: code injection lets a local attacker bypass a security feature","description":"Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.","summary":"Visual Studio Code has a code injection flaw that lets an unauthorized attacker bypass a security feature on the local machine. The sources do not describe the exact feature or how the bypass is triggered.","severity":"high","cvss":7.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["linux","macos","other","visual-studio-code","windows"],"not_affected_if":[],"how_to_check":"- Check the installed version with `code --version` and compare it with the fixed release named in the vendor's advisory (unknown in the sources).","fix":null,"status":"open","published_at":"2026-11-10T19:20:27+00:00","first_seen_at":"2026-11-10T19:25:07+00:00","triaged_at":"2026-11-10T19:39:03+00:00","updated_at":"2026-11-10T19:39:03+00:00","category":"other","confidence":0.4,"triage":{"at":"2026-11-10T19:39:03Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"Visual Studio Code: code injection lets a local attacker bypass a security feature","impact":"medium","summary":"Visual Studio Code has a code injection flaw that lets an unauthorized attacker bypass a security feature on the local machine. The sources do not describe the exact feature or how the bypass is triggered.","audience":"developers","category":"other","nicknames":[],"who_cares":["visual-studio-code","windows","macos","linux"],"confidence":0.4,"fix_status":"unknown","needs_auth":"unknown","worst_case":"Attacker bypasses a local security feature and injects code","analyst_note":"Find the affected Visual Studio Code versions, the bypassed feature and the fixed release from the NVD entry or the vendor advisory.","how_to_check":"- Check the installed version with `code --version` and compare it with the fixed release named in the vendor's advisory (unknown in the sources).\n- unknown beyond that: the sources do not say which configuration or feature is affected.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":[],"who_is_affected":"The sources say only that an unauthorized attacker can bypass a security feature locally in Visual Studio Code. They do not name the affected versions, the feature, or the required configuration, so who is exposed is unknown.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000696,"input_tokens":4498,"output_tokens":493,"severity_before":"high"},"analyst_status":"queued","analyst_note":"Find the affected Visual Studio Code versions, the bypassed feature and the fixed release from the NVD entry or the vendor advisory.","search":"'-120782':16A,19A '-2026':15A,18A 'allow':75C 'attack':9A,40B,78C 'bypass':10A,41B,60B,80C 'code':3A,4A,26B,30B,33B,68C,69C,74C 'control':64C 'cve':14A,17A 'describ':53B 'exact':55B 'featur':13A,44B,56B,83C 'flaw':35B 'generat':66C 'improp':63C 'inject':5A,34B,70C 'let':6A,37B 'linux':20B 'local':8A,47B,84C 'machin':48B 'maco':21B 'secur':12A,43B,82C 'sourc':50B 'studio':2A,25B,29B,73C 'trigger':62B 'unauthor':39B,77C 'visual':1A,24B,28B,72C 'visual-studio-cod':23B 'window':27B","nicknames":[],"mitigations":[],"who_affected":"The sources say only that an unauthorized attacker can bypass a security feature locally in Visual Studio Code. They do not name the affected versions, the feature, or the required configuration, so who is exposed is unknown.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["high","linux","macos","other","visualstudiocode","windows"],"campaign_type":null,"search_a":"'-120782':16A,19A '-2026':15A,18A 'attack':9A 'bypass':10A 'code':3A,4A 'cve':14A,17A 'featur':13A 'inject':5A 'let':6A 'local':8A 'secur':12A 'studio':2A 'visual':1A","search_b":"'attack':40B 'bypass':41B,60B 'code':26B,30B,33B 'describ':53B 'exact':55B 'featur':44B,56B 'flaw':35B 'inject':34B 'let':37B 'linux':20B 'local':47B 'machin':48B 'maco':21B 'secur':43B 'sourc':50B 'studio':25B,29B 'trigger':62B 'unauthor':39B 'visual':24B,28B 'visual-studio-cod':23B 'window':27B","search_c":"'allow':75C 'attack':78C 'bypass':80C 'code':68C,69C,74C 'control':64C 'featur':83C 'generat':66C 'improp':63C 'inject':70C 'local':84C 'secur':82C 'studio':73C 'unauthor':77C 'visual':72C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-10T19:20:27+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_by":"secure@microsoft.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120782","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120782","severity":null,"published_at":"2026-11-10T19:20:27+00:00","modified_at":"2026-11-10T19:20:27+00:00","first_seen_at":"2026-11-10T19:25:07+00:00","fetched_at":"2026-11-10T19:25:07+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}