{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:*",
            "extracted_events": [
              {
                "introduced": "6.5"
              },
              {
                "fixed": "7.17.1"
              },
              {
                "introduced": "6.5.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "8fa95b8756384fd4b29c932f345f8228073bacfa"
            },
            {
              "fixed": "78ed30837a607deab7cf0a12dca072bf3f63417a"
            }
          ],
          "repo": "https://github.com/jupyter/nbconvert",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7jqv-fw35-gmx9"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22",
      "CWE-73"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39378.json"
  },
  "details": "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.",
  "id": "CVE-2026-39378",
  "modified": "2026-08-05T03:30:43.706063726Z",
  "published": "2026-04-21T00:17:00.684Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/jupyter/nbconvert/releases/tag/v7.17.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39378.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jupyter/nbconvert/security/advisories/GHSA-7jqv-fw35-gmx9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39378"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embedding"
}