CVE-2022-29241
Python vulnerability analysis and mitigation

Overview

Jupyter Server, which provides the backend services, APIs, and REST endpoints for Jupyter web applications like Jupyter Notebook, was found to contain a security vulnerability (CVE-2022-29241) identified in June 2022. The vulnerability affects versions prior to 1.17.1, where if the notebook server is started with a root_dir containing the user's home directory, the underlying REST API could be exploited to leak access tokens (GitHub Advisory).

Technical details

The vulnerability exists in the server's handling of root directory configurations. When the server is initialized with a root_dir value that contains the starting user's home directory, an authenticated user can potentially guess or brute force the PID of the jupyter server through the REST API to obtain the access token assigned at start time (GitHub Advisory).

Impact

If successfully exploited, an attacker could use the leaked access token along with the REST API to interact with Jupyter services and notebooks. This could lead to modification or overwriting of critical files such as .bashrc or .ssh/authorized_keys, potentially allowing unauthorized access to sensitive data and possible system control (GitHub Advisory).

Exploitability

The vulnerability requires an authenticated user session to exploit. It can be leveraged through an XSS payload or from a compromised browser to leak the access token to malicious third parties (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Jupyter Server version 1.17.1 and 2.0.0a1. Users are advised to upgrade to these or later versions to protect against this security issue (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48039CRITICAL9.1
  • Python logoPython
  • meta-ads-mcp
NoYesAug 07, 2026
CVE-2026-48169HIGH8.8
  • Python logoPython
  • praisonai-platform
NoYesAug 07, 2026
GHSA-wvpp-8hx9-p66jHIGH8.8
  • Python logoPython
  • gitpython
NoYesAug 07, 2026
CVE-2026-71870MEDIUM4.8
  • Python logoPython
  • nemo
NoYesAug 07, 2026
CVE-2026-71852MEDIUM4.8
  • Python logoPython
  • litellm-1.94
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management