CVE-2022-41042
HighCVSS 7.4Exploitation Probability (EPSS)
High risk85th percentile - higher than 85% of all known CVEs
Summary
A vulnerability in Visual Studio Code allows information disclosure. Technical details are not provided in the description, but the flaw may allow unauthorized access to sensitive data.
Risk Assessment
Organizations may be exposed to information leakage if users run a vulnerable version of Visual Studio Code.
Recommendation
Update Visual Studio Code to the latest version containing the security fix.
Other vulnerabilities in Visual Studio Code
See all- CVE-2026-102238Critical
Visual Studio Code is affected by a path traversal vulnerability due to improper limitation of a pathname to a restricted directory. This allows an unauthorized attacker to execute code over a network.
- CVE-2026-81376Critical
Incomplete comparison with missing factors in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
- CVE-2026-47281Critical
Missing authorization in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
- CVE-2021-43891High
Visual Studio Code contains a remote code execution vulnerability. An attacker could exploit this flaw to execute arbitrary code in the context of the user.
- CVE-2020-1192High
Remote code execution vulnerability in Visual Studio Code when the Python extension loads workspace settings from a notebook file. An attacker could run arbitrary code in the context of the current user, potentially taking control of the system if the user has administrative rights.
- CVE-2026-70098High
Visual Studio Code has a missing authorization vulnerability that allows an unauthorized attacker to execute code over a network.
- CVE-2026-102235High
Improper encoding or escaping of output in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-102234High
Reliance on untrusted inputs in a security decision in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
- CVE-2026-69370High
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-102851Medium
Incorrect privilege assignment in Visual Studio Code allows an authorized attacker to bypass a security feature locally.
Original NVD description (English source)
Visual Studio Code Information Disclosure Vulnerability
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

