Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nbconvert
  4. ›
  5. CVE-2026-39378

CVE-2026-39378: nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding

April 21, 2026

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.

References

  • github.com/advisories/GHSA-7jqv-fw35-gmx9
  • github.com/jupyter/nbconvert
  • github.com/jupyter/nbconvert/releases/tag/v7.17.1
  • github.com/jupyter/nbconvert/security/advisories/GHSA-7jqv-fw35-gmx9
  • nvd.nist.gov/vuln/detail/CVE-2026-39378

Code Behaviors & Features

Detect and mitigate CVE-2026-39378 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.5.0 before 7.17.1

Fixed versions

  • 7.17.1

Solution

Upgrade to version 7.17.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative Path Traversal

Source file

pypi/nbconvert/CVE-2026-39378.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:21 +0000.