Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-39377

CVE-2026-39377: Jupyter Nbconvert Path Traversal Flaw

CVE-2026-39377 is a path traversal vulnerability in Jupyter Nbconvert allowing arbitrary file writes outside intended directories. This article covers the technical details, affected versions 6.5-7.17.0, and mitigation.

Published: April 23, 2026

CVE-2026-39377 Overview

CVE-2026-39377 is a path traversal vulnerability affecting Jupyter nbconvert, a widely-used tool for converting Jupyter notebooks to various formats via Jinja templates. The vulnerability exists in versions 6.5 through 7.17.0, where the ExtractAttachmentsPreprocessor component fails to properly sanitize attachment filenames before writing them to the filesystem. This allows attackers to craft malicious notebooks containing specially-crafted cell attachment filenames that enable arbitrary file writes outside the intended output directory.

Critical Impact

Attackers can achieve arbitrary file writes with complete control over both destination path and file extension, potentially leading to code execution or system compromise through overwriting critical files.

Affected Products

  • Jupyter nbconvert versions 6.5 through 7.17.0
  • Applications and services that process untrusted Jupyter notebooks using nbconvert
  • CI/CD pipelines and automated systems that convert Jupyter notebooks

Discovery Timeline

  • 2026-04-21 - CVE CVE-2026-39377 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-39377

Vulnerability Analysis

This path traversal vulnerability (CWE-22) occurs within the ExtractAttachmentsPreprocessor component of Jupyter nbconvert. The core issue stems from insufficient input validation when processing cell attachments embedded within Jupyter notebook files. When nbconvert processes a notebook for conversion, it extracts attachments and writes them to the output directory. However, the attachment filenames are passed directly to filesystem operations without proper sanitization.

The vulnerability requires user interaction—a victim must process a maliciously crafted notebook using nbconvert. Once triggered, an attacker gains complete control over the destination path where files are written, including the ability to specify arbitrary file extensions. This could enable an attacker to overwrite configuration files, inject malicious scripts, or plant executable files in strategic locations.

Root Cause

The root cause lies in the ExtractAttachmentsPreprocessor module, which directly passes user-controlled attachment filenames to filesystem write operations without sanitizing path traversal sequences such as ../ or absolute paths. The component fails to validate that the resulting file path remains within the intended output directory boundary.

Attack Vector

The attack requires network-based delivery of a malicious Jupyter notebook file to a victim who then processes it using nbconvert. The attacker crafts a notebook containing cell attachments with filenames that include path traversal sequences. When the victim runs jupyter nbconvert on this malicious notebook, the ExtractAttachmentsPreprocessor writes the attachment content to an attacker-controlled location outside the intended output directory.

For example, an attachment filename containing sequences like ../../../etc/cron.d/malicious would cause nbconvert to write the attachment content to the system's cron directory, potentially achieving code execution. The attacker controls both the file path and the file contents through the attachment data.

Detection Methods for CVE-2026-39377

Indicators of Compromise

  • Jupyter notebook files containing cell attachments with path traversal sequences (../, ..\\, or absolute paths) in filenames
  • Unexpected file modifications or creations outside normal nbconvert output directories
  • Log entries showing nbconvert processing notebooks with suspicious attachment names
  • Files appearing in sensitive system directories that correlate with nbconvert execution times

Detection Strategies

  • Monitor file system activity during nbconvert execution for writes outside expected output directories
  • Implement file integrity monitoring on critical system directories and configuration files
  • Analyze incoming Jupyter notebook files for suspicious attachment filenames containing path traversal patterns
  • Deploy endpoint detection rules that flag nbconvert processes writing to sensitive paths

Monitoring Recommendations

  • Enable verbose logging for nbconvert operations in production environments
  • Implement sandbox environments for processing untrusted Jupyter notebooks
  • Configure SentinelOne to monitor for anomalous file write patterns associated with Python and Jupyter processes
  • Establish baseline file system activity for nbconvert operations to detect deviations

How to Mitigate CVE-2026-39377

Immediate Actions Required

  • Upgrade Jupyter nbconvert to version 7.17.1 or later immediately
  • Audit any notebooks from untrusted sources before processing with vulnerable versions
  • Implement input validation at the application layer if immediate patching is not possible
  • Restrict nbconvert execution to sandboxed or containerized environments when processing external notebooks

Patch Information

Jupyter has released version 7.17.1 of nbconvert which contains the security fix for this vulnerability. The patch implements proper sanitization of attachment filenames to prevent path traversal attacks. Organizations should update their nbconvert installations using:

bash
pip install --upgrade nbconvert>=7.17.1

For detailed information about the patch, refer to the GitHub Release Notes for v7.17.1 and the GitHub Security Advisory.

Workarounds

  • Avoid processing Jupyter notebooks from untrusted sources until patching is complete
  • Disable the ExtractAttachmentsPreprocessor if attachment extraction functionality is not required
  • Run nbconvert in a containerized environment with restricted filesystem access
  • Implement a pre-processing step that validates attachment filenames before passing notebooks to nbconvert
bash
# Example: Run nbconvert in restricted container environment
docker run --rm -v $(pwd)/notebooks:/notebooks:ro \
  -v $(pwd)/output:/output \
  --read-only \
  jupyter/nbconvert:7.17.1 \
  jupyter nbconvert --to html /notebooks/input.ipynb --output-dir=/output

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechJupyter

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release Notes
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-30167: Jupyter Core Privilege Escalation Flaw

  • CVE-2024-39700: Jupyter JupyterLab RCE Vulnerability

  • CVE-2025-32428: Jupyter Remote Desktop Proxy RCE Flaw

  • CVE-2024-28179: Jupyter Server Proxy Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English