Security mailing lists by PureSourceCode

CVE-2026-39377

MEDIUM 6.5CVSS 3.1

nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames

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.

Published
21 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22CWE-73
Also known as
GHSA-4c99-qj7h-p3vgPYSEC-2026-2229
Sources
NVDJSONOSV GHSA-4c99-qj7h-p3vgJSONOSV PYSEC-2026-2229JSON

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:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/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.