Skip to content
Heist/ feed
Back to feed
MediumFix available

nbconvert — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-39377

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.

Products
nbconvert
Affected versions
7.16.6-1, 7.17.0-1
Fixed versions
7.16.6-1+deb13u1, 7.17.1-1
CVEs
CVE-2026-39377
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:37 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-39377

core-osv · Original source

Published 21 Apr 2026, 01:16 UTC

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.

osv:DEBIAN-CVE-2026-39377

nbconvert

Fixed versions: 7.16.6-1+deb13u1

nbconvert

Fixed versions: 7.17.1-1

Complete source record
{
  "id": "50da241e2aa34e3d8ec35d5a4b1c59bd04e6929dcef1cd017aaf2425371e9ceb",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-39377",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-39377",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-39377",
    "products": [
      {
        "name": {
          "value": "nbconvert",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.16.6-1+deb13u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "7.16.6-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "nbconvert",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.17.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "7.16.6-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "7.17.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-39377",
      "aliases": [
        "DEBIAN-CVE-2026-39377"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.16.6-1+deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "nbconvert",
            "purl": "pkg:deb/debian/nbconvert?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "7.16.6-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-39377.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.17.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "nbconvert",
            "purl": "pkg:deb/debian/nbconvert?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "7.16.6-1",
            "7.17.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-39377.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-27T09:47:33.361858872Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-39377"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-39377"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-39377",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460913,
  "published_at": "2026-04-21T01:16:05.937+00:00"
}