CVE-2022-41083: VS Code Jupyter ext: local privilege escalation
HIGHCVE-2022-41083 is a local elevation-of-privilege flaw in the Jupyter Extension for Visual Studio Code, patched by Microsoft in October 2022. Exploitation requires an attacker who already has low-privilege local code execution and no user interaction, so it is a post-compromise escalation step, not an initial-access vector. Exploitation likelihood looks low: it is not in CISA KEV, there is no public exploit or Nuclei template, and EPSS and SSVC data are unavailable. The exposure is wide, though, with 1,881 downstream dependents, and the package has 45 other CVEs and an OpenSSF Scorecard of 5.8/10. Confirm that every developer workstation, shared notebook host and remote dev environment runs the current Jupyter extension and VS Code builds, and treat any unpatched shared multi-user system as higher priority.
What is the risk?
Medium overall. The CVSS 7.8 score reflects high confidentiality, integrity and availability impact, but the attack is local and needs prior low-privilege access. The vector marks exploit code maturity as unproven and the fix as an official one. There is no KEV listing, no public exploit and no scanner template. The risk is highest on shared data-science hosts, multi-tenant notebook servers and developer machines holding model artifacts, credentials and API keys.
How does the attack unfold?
What systems are affected?
How severe is it?
What is the attack surface?
What should I do?
1 step1) Update VS Code and the Jupyter extension to the versions listed in Microsoft's MSRC advisory for CVE-2022-41083. 2) Inventory extension versions across developer endpoints and remote or shared notebook hosts, using endpoint management or the
code --list-extensions --show-versionscommand. 3) Enforce least privilege on dev hosts and avoid running notebooks as an administrator or root user. 4) Restrict extension installation to an approved marketplace allowlist. 5) Monitor for unexpected privilege changes and child processes spawned by VS Code or its extension host. 6) Keep secrets out of notebook working directories and use short-lived credentials.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2022-41083?
CVE-2022-41083 is a local elevation-of-privilege flaw in the Jupyter Extension for Visual Studio Code, patched by Microsoft in October 2022. Exploitation requires an attacker who already has low-privilege local code execution and no user interaction, so it is a post-compromise escalation step, not an initial-access vector. Exploitation likelihood looks low: it is not in CISA KEV, there is no public exploit or Nuclei template, and EPSS and SSVC data are unavailable. The exposure is wide, though, with 1,881 downstream dependents, and the package has 45 other CVEs and an OpenSSF Scorecard of 5.8/10. Confirm that every developer workstation, shared notebook host and remote dev environment runs the current Jupyter extension and VS Code builds, and treat any unpatched shared multi-user system as higher priority.
Is CVE-2022-41083 actively exploited?
No confirmed active exploitation of CVE-2022-41083 has been reported, but organizations should still patch proactively.
How to fix CVE-2022-41083?
1) Update VS Code and the Jupyter extension to the versions listed in Microsoft's MSRC advisory for CVE-2022-41083. 2) Inventory extension versions across developer endpoints and remote or shared notebook hosts, using endpoint management or the `code --list-extensions --show-versions` command. 3) Enforce least privilege on dev hosts and avoid running notebooks as an administrator or root user. 4) Restrict extension installation to an approved marketplace allowlist. 5) Monitor for unexpected privilege changes and child processes spawned by VS Code or its extension host. 6) Keep secrets out of notebook working directories and use short-lived credentials.
What systems are affected by CVE-2022-41083?
This vulnerability affects the following AI/ML architecture patterns: Developer workstations, Notebook-based training pipelines, Shared data-science environments, Remote development environments.
What is the CVSS score for CVE-2022-41083?
CVE-2022-41083 has a CVSS v3.1 base score of 7.8 (HIGH).
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0010.001AI SoftwareAML.T0112Machine CompromiseCompliance Controls Affected
What are the technical details?
Original Advisory
Visual Studio Code Elevation of Privilege Vulnerability
Exploitation Scenario
An attacker gains a low-privilege foothold on a data scientist's workstation or a shared GPU notebook server, for example through a malicious pip package or a phished session. They then abuse the vulnerable Jupyter extension component to run code with higher privileges. With elevated rights they read other users' notebooks, model weights and cloud credentials. They can also modify training scripts or datasets, or move laterally into the ML platform.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CReferences
- msrc.microsoft.com/update-guide/vulnerability/CVE-2022-41083vendor-advisory
Timeline
Related Vulnerabilities
CVE-2023-2557410.0JupyterHub LTI13: JWT forgery enables full auth bypass
Same package: jupyterCVE-2026-441809.8Jupyter Enterprise Gateway: root privilege bypass in Kubernetes
Same package: jupyterCVE-2026-235379.1Feast: unauth file write to RCE via /save-document
Same package: jupyterCVE-2026-545279.0jupyterlab-git: stored XSS escalates to full RCE
Same package: jupyterCVE-2026-447279.0jupyter-server: stored XSS yields kernel RCE
Same package: jupyter