# CVE-2026-39377: nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-21 · Modified: 2026-04-21
- Aliases: GHSA-4c99-qj7h-p3vg, PYSEC-2026-2229, UBUNTU-CVE-2026-39377, DEBIAN-CVE-2026-39377, CGA-74c8-jq5v-7jh3, CGA-4837-8rqg-8w87, CGA-h6xw-pq22-x2xj, CGA-pmwq-7fg6-8h55, CGA-w3c7-33qg-pj6m
- Record: https://cvemate.com/vulnerability/CVE-2026-39377 · JSON: https://cvemate.com/vulnerability/CVE-2026-39377/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.271%, percentile 20.596%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard datahub-ingestion-fips (Chainguard): \< 1.5.0.1-r2
- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.16.0-r5
- chainguard tensorflow-cpu-jupyter (Chainguard): \< 2.21.0-r3
- chainguard tensorflow-gpu-jupyter (Chainguard): \< 2.21.0-r3
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.16.0-r5
- debian nbconvert (Debian): \< 7.16.6-1+deb13u1 \| \< 7.17.1-1
- ubuntu nbconvert (Ubuntu): All versions (No fix recorded)
- jupyter nbconvert: ≥ 6.5, \< 7.17.1 \| ≥ 6.5.0, \< 7.17.1
- PyPI nbconvert (PyPI): ≥ 6.5.0, \< 7.17.1

## References

- <https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg>
- <https://github.com/jupyter/nbconvert/releases/tag/v7.17.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39377>
- <https://github.com/jupyter/nbconvert>
- <https://ubuntu.com/security/CVE-2026-39377>
- <https://www.cve.org/CVERecord?id=CVE-2026-39377>
- <https://security-tracker.debian.org/tracker/CVE-2026-39377>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39377.json>

---

Data as of 2026-12-05T09:19:48.735Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
