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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jupyter | nbconvert | >= 6.5, < 7.17.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nbconvert | 7.17.1-1 | — |
| Debian 13 | nbconvert | 7.16.6-1+deb13u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nbconvert | No fix yet | — |
| Ubuntu 26.04 LTS | nbconvert | No fix yet | — |
| Ubuntu 25.10 | nbconvert | No fix yet | — |
| Ubuntu 24.04 LTS | nbconvert | No fix yet | — |
| Ubuntu 22.04 LTS | nbconvert | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | nbconvert | No fix yet | — |
| Ubuntu 18.04 LTS | nbconvert | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-nbconvert | 7.17.1-1.1 | openSUSE-SU-2026:10603-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kubeflow-pipelines-visualization-server | 2.16.0-r5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | nbconvert | >= 6.5.0, < 7.17.1 | 7.17.1 | GHSA-4c99-qj7h-p3vg |
Advisories 1
- openSUSE-SU-2026:10603-1 jupyter-nbconvert-7.17.1-1.1 on GA media SUSE / openSUSE Security Updates · Apr 23, 2026