Security mailing lists by PureSourceCode

CVE-2026-39378

MEDIUM 6.5CVSS 3.1

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

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.

Published
21 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-23
Also known as
GHSA-7jqv-fw35-gmx9PYSEC-2026-2230
Sources
NVDJSONOSV GHSA-7jqv-fw35-gmx9JSONOSV PYSEC-2026-2230JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jupyter nbconvert
cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*
>= 6.5.0, < 7.17.1 7.17.1
OSV PyPI nbconvert >= 6.5.0, < 7.17.1 7.17.1

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.