Advisory record · GHSA-7jqv-fw35-gmx9

nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding

CVSS 6.5 MediumEPSS 0.0031 · 23rd percentile

Published by the GitHub Advisory Database at 21 Apr 2026, 17:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
nbconvertPyPI>=6.5.0, <7.17.17.17.1
Identifiers
GHSA-7jqv-fw35-gmx9 · CVE-2026-39378 · PYSEC-2026-2230
Weakness (CWE)
CWE-22 · CWE-23 · CWE-73
Published
21 Apr 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

nbconvert versions 6.5.0 up to but not including 7.17.1 are vulnerable to arbitrary file read via path traversal in image references when HTMLExporter.embed_images is set to True. An attacker who can supply a malicious notebook for conversion can read sensitive files from the conversion host, which are embedded as base64 data URIs in the output HTML. Upgrade to nbconvert 7.17.1 or later. As a workaround, leave HTMLExporter.embed_images disabled, which is the default.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0031, the 23rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:34 UTC First seen by agentprime
  2. 31 Oct 2026, 14:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.