The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-30167

CVE-2025-30167: Jupyter Core Privilege Escalation Flaw

CVE-2025-30167 is a privilege escalation vulnerability in Jupyter Core on Windows systems where unauthorized users can create configuration files affecting others. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2025-30167 Overview

Jupyter Core, a foundational package providing core common functionality for Jupyter projects, contains an Uncontrolled Search Path Element vulnerability (CWE-427) in versions prior to 5.8.0 on Windows systems. The vulnerability stems from the application's use of the shared %PROGRAMDATA% directory for searching configuration files through SYSTEM_CONFIG_PATH and SYSTEM_JUPYTER_PATH. This design flaw allows unprivileged users on shared Windows systems to create malicious configuration files that affect other users, potentially leading to code execution or privilege escalation within the Jupyter environment.

Critical Impact

On shared Windows systems with multiple users and unprotected %PROGRAMDATA% directories, attackers with local access can plant malicious configuration files that execute in the context of other users running Jupyter applications.

Affected Products

  • Jupyter Core versions prior to 5.8.0
  • Windows systems with shared %PROGRAMDATA% directories
  • Multi-user Windows environments with default directory permissions

Discovery Timeline

  • 2025-06-03 - CVE CVE-2025-30167 published to NVD
  • 2025-09-08 - Last updated in NVD database

Technical Details for CVE-2025-30167

Vulnerability Analysis

This vulnerability falls under CWE-427 (Uncontrolled Search Path Element), a class of weaknesses where an application searches for critical resources using an externally-supplied search path that can point to resources outside the intended control sphere.

In the case of Jupyter Core on Windows, the application searches for configuration files in the %PROGRAMDATA% directory, which is a shared system location. By default, this directory may have overly permissive access controls that allow standard users to create files and subdirectories. When Jupyter Core loads configuration files from this location, it trusts the content without adequate verification of the file's origin or integrity.

The attack requires local access to the system and depends on the target environment having multiple users with unprotected %PROGRAMDATA% directory permissions. When these conditions are met, an attacker can create a %PROGRAMDATA%\jupyter directory structure containing malicious configuration files that will be loaded by other users when they run Jupyter applications.

Root Cause

The root cause lies in Jupyter Core's configuration file search path implementation on Windows systems. The application includes %PROGRAMDATA% as part of SYSTEM_CONFIG_PATH and SYSTEM_JUPYTER_PATH without adequately verifying the permissions or ownership of the directory. This allows any local user who can write to %PROGRAMDATA% to influence the configuration of Jupyter applications for all users on the system.

The fundamental issue is a failure to apply the principle of least privilege when determining trusted configuration file locations. On multi-user systems, shared directories should either be excluded from the search path or the application should validate that configuration files in these locations are only writable by administrators.

Attack Vector

The attack vector is local, requiring the attacker to have user-level access to a shared Windows system. The attack proceeds as follows:

  1. The attacker identifies a Windows system with Jupyter Core installed where multiple users share the system
  2. The attacker checks that %PROGRAMDATA% is writable (default on many Windows configurations)
  3. The attacker creates the %PROGRAMDATA%\jupyter directory if it doesn't exist
  4. The attacker places malicious configuration files in this directory
  5. When another user launches a Jupyter application, the malicious configuration is loaded and executed in their security context

The vulnerability requires user interaction (the victim must launch a Jupyter application) but has the potential for high impact on confidentiality, integrity, and availability of the victim's session and data.

Detection Methods for CVE-2025-30167

Indicators of Compromise

  • Unexpected files or directories created under %PROGRAMDATA%\jupyter by non-administrator users
  • Configuration files in %PROGRAMDATA%\jupyter with suspicious content or recent modification times
  • Unusual process behavior or network connections originating from Jupyter processes
  • File system audit logs showing creation of jupyter configuration files by unprivileged accounts

Detection Strategies

  • Monitor file system changes to %PROGRAMDATA%\jupyter and alert on creations by non-administrator accounts
  • Implement file integrity monitoring for Jupyter configuration directories across all search paths
  • Review Jupyter configuration file contents for suspicious entries such as startup scripts or extension configurations
  • Use endpoint detection and response (EDR) solutions to monitor process chains originating from Jupyter applications

Monitoring Recommendations

  • Enable Windows Security Auditing for Object Access on the %PROGRAMDATA% directory
  • Deploy SentinelOne agents to monitor for suspicious file system modifications in shared configuration directories
  • Implement application whitelisting to control what executables can be launched by Jupyter processes
  • Review user access patterns on shared systems to identify potential exploitation attempts

How to Mitigate CVE-2025-30167

Immediate Actions Required

  • Upgrade Jupyter Core to version 5.8.0 or later immediately on all affected systems
  • Audit %PROGRAMDATA%\jupyter directories for any unauthorized configuration files
  • Review permissions on %PROGRAMDATA% to ensure only administrators have write access
  • Implement monitoring for file system changes in shared configuration directories

Patch Information

Users should upgrade to Jupyter Core version 5.8.0 or later to receive the security patch. The fix addresses the configuration file search path handling on Windows systems. For detailed information about the vulnerability and patch, refer to the GitHub Security Advisory GHSA-33p9-3p43-82vq.

The patch can be applied by upgrading through pip:

bash
pip install --upgrade jupyter_core>=5.8.0

Workarounds

  • As administrator, modify permissions on the %PROGRAMDATA% directory to prevent unauthorized users from writing files
  • As administrator, proactively create the %PROGRAMDATA%\jupyter directory with restrictive permissions (administrator-only write access)
  • As user or administrator, set the %PROGRAMDATA% environment variable to point to a directory with appropriately restrictive permissions controlled by administrators or the current user
  • Consider running Jupyter in isolated user environments or containers to limit the impact of configuration hijacking
bash
# Example: Restrict permissions on %PROGRAMDATA%\jupyter (run as Administrator)
icacls "%PROGRAMDATA%\jupyter" /inheritance:r /grant:r "BUILTIN\Administrators:(OI)(CI)F" /grant:r "NT AUTHORITY\SYSTEM:(OI)(CI)F"

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechJupyter

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-427
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-22415: Jupyter-LSP 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