要点
- CVE-2026-39378 是影响 nbconvert, nbconvert (jupyter) 的中危 (CVSS 6.5)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.31%,高于 23.5% 的漏洞。
- 修复:升级到 7.17.1 或更高版本。
| Package | Affected versions | Patched versions |
|---|
| nbconvert PyPI | ≥ 6.5.0, < 7.17.1
| 7.17.1
|
| nbconvert | ≥ 6.5.0, < 7.17.1
| 7.17.1
|
Description
Summary
When HTMLExporter.embed_images=True, nbconvert's markdown renderer allows arbitrary file read via path traversal in image references. A malicious notebook can exfiltrate sensitive files from the conversion host by embedding them as base64 data URIs in the output HTML.
Patches
Upgrade to nbconvert 7.17.1
Workarounds
Do not enable HTMLExporter.embed_images (it is not enabled by default).
NVD description
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. In versions 6.5 through 7.17.0, when `HTMLExporter.embed_images=True`, nbconvert's markdown renderer allows arbitrary file read via path traversal in image references. A malicious notebook can exfiltrate sensitive files from the conversion host by embedding them as base64 data URIs in the output HTML. nbconvert 7.17.1 contains a fix. As a workaround, do not enable `HTMLExporter.embed_images`; it is not enabled by default.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free