# CVE-2022-24758: Sensitive Auth & Cookie data stored in Jupyter server logs

Source: https://junglewise.ai/threats/cve-2022-24758-sensitive-auth-cookie-data-stored-in-jupyter-server-logs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-31  
License: CC BY 4.0 with a link back

CVE-2022-24758 · Severity: low · CVSS 3.1 · Published 2022-03-31

The Jupyter notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.9, unauthorized actors can access sensitive information from server logs. Anytime a 5xx error is triggered, the auth cookie and other header values are recorded in Jupyter server logs by default. Considering these logs do not require root access, an attacker can monitor these logs, steal sensitive auth/cookie information, and gain access to the Jupyter server. Jupyter notebook version 6.4.x contains a patch for this issue. There are currently no known workarounds.

Technologies: [notebook (PyPI)](https://junglewise.ai/threats/technologies/pypi-notebook). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-24758 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-24758 being exploited in the wild.

**How severe is CVE-2022-24758?** Low severity, with a CVSS score of 3.1, published 31 March 2022.

**Which products and versions are affected?** notebook (PyPI) ECOSYSTEM:introduced=0,fixed=6.4.10.

**Is there a fix for CVE-2022-24758?** Yes. notebook (PyPI): upgrade to 6.4.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-24758?** Check whether you run notebook (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- notebook (PyPI): upgrade to 6.4.10 or later

  ```sh
  pip install "notebook>=6.4.10"
  ```


## Affected products

- notebook (PyPI) ECOSYSTEM:introduced=0,fixed=6.4.10

## Identifiers

- CVE-2022-24758
- GHSA-m87f-39q9-6f55
- PYSEC-2022-180

## Related threats

- [JupyterLab command link trust prompt marks wrong document](https://junglewise.ai/threats/cve-2026-102832-jupyterlab-command-link-trust-prompt-in-jupyterlab-can-trust-a)
- [JupyterLab HTML output sanitization bypass via clipboard paste](https://junglewise.ai/threats/cve-2026-102831-jupyterlab-is-an-extensible-environment-for-interactive-and)
- [PYSEC-2026-2536 - HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering](https://junglewise.ai/threats/cve-2024-43805-html-injection-in-jupyter-notebook-and-jupyterlab-leading-to-dom)
- [PYSEC-2026-2534 - JupyterLab vulnerable to potential authentication and CSRF tokens leak](https://junglewise.ai/threats/cve-2024-22421-jupyterlab-vulnerable-to-potential-authentication-and-csrf-tokens)
- [PYSEC-2026-2535 - JupyterLab vulnerable to SXSS in Markdown Preview](https://junglewise.ai/threats/cve-2024-22420-jupyterlab-vulnerable-to-sxss-in-markdown-preview)
