CVE-2026-39377 nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions 6.5 through 7.17.0 allow arbitrary file writes to locations outside the intended output directory when processing notebooks containing crafted cell attachment filenames. The ExtractAttachmentsPreprocessor passes attachment filenames directly to the filesystem without sanitization, enabling path traversal attacks. This vulnerability provides complete control over both the destination path and file extension. Version 7.17.1 contains a patch.
Upgrade path
26 packages: 4 fixed, 22 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/mta/mta-solution-server-rhel9(Red Hat migration_toolkit_applications 8) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/nbconvert(Debian 13) | < 7.16.6-1+deb13u1; = 7.16.6-1 | 7.16.6-1+deb13u1 | Fixed |
| debian/nbconvert(Debian 14) | < 7.17.1-1; = 7.16.6-1; = 7.17.0-1 | 7.17.1-1 | Fixed |
| jupyter nbconvert | = >= 6.5, < 7.17.1; >= 6.5.0, < 7.17.1 | 7.17.1 | Fixed |
| pypi nbconvert(PyPI) | = 6.5.0; = 6.5.1; = 6.5.2; = 6.5.3 +50 more | 7.17.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nbconvert(PyPI) | >= 6.5.0, < 7.17.1 | 7.17.1 |
| pypi nbconvert(PyPI) | = 6.5.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.0.0rc3 | No fix listed |
| pypi nbconvert(PyPI) | = 7.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.10.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.11.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.12.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.13.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.13.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.14.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.14.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.14.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.15.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.3 | No fix listed |
Show 58 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nbconvert(PyPI) | = 7.16.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.5 | No fix listed |
| pypi nbconvert(PyPI) | = 7.16.6 | No fix listed |
| pypi nbconvert(PyPI) | = 7.17.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.10 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.3 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.5 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.6 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.7 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.8 | No fix listed |
| pypi nbconvert(PyPI) | = 7.2.9 | No fix listed |
| pypi nbconvert(PyPI) | = 7.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.3.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.4.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.5.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.6.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.2 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.3 | No fix listed |
| pypi nbconvert(PyPI) | = 7.7.4 | No fix listed |
| pypi nbconvert(PyPI) | = 7.8.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.9.0 | No fix listed |
| pypi nbconvert(PyPI) | = 7.9.1 | No fix listed |
| pypi nbconvert(PyPI) | = 7.9.2 | No fix listed |
| jupyter nbconvert | = >= 6.5, < 7.17.1 | No fix listed |
| debian/nbconvert(Debian:13) | < 7.16.6-1+deb13u1 | 7.16.6-1+deb13u1 |
| debian/nbconvert(Debian:13) | = 7.16.6-1 | No fix listed |
| debian/nbconvert(Debian:14) | < 7.17.1-1 | 7.17.1-1 |
| debian/nbconvert(Debian:14) | = 7.16.6-1 | No fix listed |
| debian/nbconvert(Debian:14) | = 7.17.0-1 | No fix listed |
| redhat/mta/mta-solution-server-rhel9(Red Hat:migration_toolkit_applications:8) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:26.10) | All versions | No fix listed |
| jupyter nbconvert | >= 6.5.0, < 7.17.1 | 7.17.1 |
References
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/jupyter/nbconvert/releases/tag/v7.17.1 product
- github.com
- Debian Security Tracker CVE-2026-39377 vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2459951 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking