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-2024-39700

CVE-2024-39700: Jupyter JupyterLab RCE Vulnerability

CVE-2024-39700 is a remote code execution flaw in Jupyter JupyterLab extension template affecting GitHub-hosted repositories. This vulnerability allows attackers to execute arbitrary code through workflow configurations.

Published: April 8, 2026

CVE-2024-39700 Overview

CVE-2024-39700 is a critical Remote Code Execution (RCE) vulnerability affecting the JupyterLab extension template, a copier template used for creating JupyterLab extensions. Repositories created using this template with the test option include an update-integration-tests.yml GitHub Actions workflow that contains an RCE vulnerability. This flaw allows attackers to execute arbitrary code through malicious pull requests from untrusted users, potentially compromising the entire development pipeline and downstream users of affected extensions.

Critical Impact

Attackers can achieve Remote Code Execution through malicious pull requests, potentially compromising CI/CD pipelines and supply chain integrity of JupyterLab extensions.

Affected Products

  • Jupyter JupyterLab Extension Template (versions prior to 4.3.0)
  • Repositories created using the JupyterLab extension template with test option enabled
  • GitHub Actions workflows containing vulnerable update-integration-tests.yml

Discovery Timeline

  • 2024-07-16 - CVE-2024-39700 published to NVD
  • 2025-09-04 - Last updated in NVD database

Technical Details for CVE-2024-39700

Vulnerability Analysis

This vulnerability stems from improper handling of untrusted input in the update-integration-tests.yml GitHub Actions workflow. The workflow, included in repositories generated from the JupyterLab extension template when the test option is selected, fails to properly sanitize or restrict code execution contexts. When a pull request is opened against a repository using this vulnerable workflow, the actions may execute using code from the main branch at the time the pull request was created, allowing an attacker to inject malicious code that gets executed with repository permissions.

The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), indicating that the workflow allows external actors to inject and execute arbitrary code within the GitHub Actions runner environment.

Root Cause

The root cause is the insecure configuration of the GitHub Actions workflow file update-integration-tests.yml. The workflow lacks proper isolation and input validation when processing pull requests from external contributors. This allows untrusted code from forked repositories or external pull requests to be executed within the context of the target repository's CI/CD environment, effectively granting unauthorized code execution capabilities.

Attack Vector

The attack vector is network-based, requiring no privileges or user interaction for exploitation. An attacker can exploit this vulnerability by:

  1. Forking a repository that uses the vulnerable JupyterLab extension template
  2. Creating a malicious pull request containing code designed to execute during the workflow run
  3. Exploiting the workflow's execution context to run arbitrary commands with the repository's GitHub Actions permissions

This could lead to secrets exfiltration, repository compromise, malicious code injection into releases, or lateral movement within the organization's GitHub infrastructure.

The vulnerability mechanism involves the GitHub Actions workflow processing untrusted pull request content without proper sandboxing. The workflow configuration allows code execution from the pull request branch within the context of the main repository's permissions. For detailed technical information on the vulnerable workflow configuration, refer to the GitHub Security Advisory GHSA-45gq-v5wm-82wg.

Detection Methods for CVE-2024-39700

Indicators of Compromise

  • Unexpected or unauthorized workflow runs triggered by external pull requests
  • Modified or suspicious update-integration-tests.yml workflow files in repositories
  • Unauthorized access to repository secrets or environment variables
  • Unusual GitHub Actions runner activity or resource consumption
  • Unexpected commits or releases from CI/CD processes

Detection Strategies

  • Audit all repositories created from the JupyterLab extension template for the presence of vulnerable update-integration-tests.yml files
  • Monitor GitHub Actions logs for workflow executions triggered by untrusted pull requests
  • Review pull request activity from unknown or untrusted contributors targeting repositories with the test option enabled
  • Implement GitHub Actions workflow analysis to detect insecure patterns in CI/CD configurations

Monitoring Recommendations

  • Enable GitHub Actions audit logging and regularly review workflow execution history
  • Configure alerts for workflow runs triggered by pull requests from first-time contributors
  • Monitor for any modifications to workflow files in the .github/workflows/ directory
  • Implement code scanning to detect insecure GitHub Actions patterns across your organization

How to Mitigate CVE-2024-39700

Immediate Actions Required

  • Upgrade the JupyterLab extension template to the latest version immediately
  • Temporarily disable GitHub Actions on affected repositories while implementing the upgrade
  • Rebase all open pull requests from untrusted users to prevent exploitation using cached vulnerable workflow versions
  • Review recent workflow runs for signs of exploitation or unauthorized code execution

Patch Information

The JupyterLab maintainers have released a security fix in commit 035e78c1c65bcedee97c95bb683abe59c96bc4e6. Extension authors should upgrade their template to the latest version by following the vendor guidance. When upgrading, users who have made customizations to update-integration-tests.yml should accept the overwrite of this file and re-apply their changes afterward. For repositories upgrading from template versions prior to 4.3.0, consider deferring changes to the release workflow as it requires additional configuration. Detailed patch information is available in the GitHub Commit Update.

Workarounds

  • Temporarily disable GitHub Actions on repositories using the vulnerable template until the upgrade can be applied
  • Restrict workflow permissions by configuring minimal required permissions in workflow files
  • Implement branch protection rules requiring approval for all pull requests before workflow execution
  • Use the pull_request_target event with caution or switch to pull_request with restricted checkout patterns
bash
# Disable GitHub Actions temporarily for a repository
# Navigate to repository Settings > Actions > General
# Select "Disable Actions" until the template upgrade is complete

# After upgrading, verify the workflow file has been updated
git diff main..HEAD -- .github/workflows/update-integration-tests.yml

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJupyter

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability3.92%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-45gq-v5wm-82wg
  • Related CVEs
  • CVE-2025-32428: Jupyter Remote Desktop Proxy RCE Flaw

  • CVE-2026-39377: Jupyter Nbconvert Path Traversal Flaw

  • CVE-2025-30167: Jupyter Core Privilege Escalation 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