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
    • 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-2022-24758

CVE-2022-24758: Jupyter Notebook Information Disclosure

CVE-2022-24758 is an information disclosure vulnerability in Jupyter Notebook that exposes authentication cookies in server logs during 5xx errors. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2022-24758 Overview

CVE-2022-24758 is a sensitive information exposure vulnerability affecting Jupyter Notebook, the popular web-based notebook environment for interactive computing. Prior to version 6.4.9, unauthorized actors can access sensitive information from server logs. Anytime a 5xx error is triggered, the auth cookie and other header values are recorded in Jupyter server logs by default. Considering these logs do not require root access, an attacker can monitor these logs, steal sensitive auth/cookie information, and gain access to the Jupyter server.

Critical Impact

Attackers with access to Jupyter server logs can steal authentication cookies and session tokens, potentially gaining unauthorized access to the Jupyter environment and any data or code it contains.

Affected Products

  • Jupyter Notebook versions prior to 6.4.9

Discovery Timeline

  • 2022-03-31 - CVE CVE-2022-24758 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-24758

Vulnerability Analysis

This vulnerability is classified under CWE-532 (Insertion of Sensitive Information into Log File). The core issue lies in Jupyter Notebook's default logging behavior, which inadvertently captures sensitive authentication data when server errors occur. When the Jupyter server encounters a 5xx error condition, the default logging configuration records HTTP header values including authentication cookies in the server log files.

The security impact is significant because Jupyter server logs are typically readable by non-root users on the system. This creates an attack surface where a local attacker with limited privileges can passively monitor log files to harvest authentication credentials. Once obtained, these credentials can be used to impersonate legitimate users and gain full access to the Jupyter notebook environment.

Root Cause

The root cause of this vulnerability is improper logging hygiene in the Jupyter Notebook server. The default logging configuration fails to sanitize or redact sensitive HTTP header values before writing them to log files. Specifically, when a 5xx internal server error is generated, the error handling routine logs the full request context including authentication headers and cookies without filtering sensitive data.

Attack Vector

The attack vector is network-based and can be exploited without authentication. An attacker would need local access to the system running the Jupyter server to read the log files. The exploitation flow involves:

  1. Gaining local access to the system hosting the Jupyter Notebook server
  2. Monitoring or reading Jupyter server log files (which don't require root permissions)
  3. Waiting for or triggering 5xx errors to cause sensitive headers to be logged
  4. Extracting authentication cookies and session tokens from the logs
  5. Using the stolen credentials to access the Jupyter server as an authenticated user

The vulnerability does not require any user interaction to exploit, and the attacker needs no prior authentication to the Jupyter service itself—only read access to the log files on the local system.

Detection Methods for CVE-2022-24758

Indicators of Compromise

  • Unusual access patterns to Jupyter server log files by non-administrative users
  • Multiple authentication sessions from different IP addresses using the same session token
  • Unexpected file system access events targeting /var/log/jupyter/ or application-specific log directories

Detection Strategies

  • Monitor file access events on Jupyter server log files using auditd or similar file integrity monitoring tools
  • Implement log analysis to detect multiple concurrent sessions using identical authentication tokens from disparate network locations
  • Review authentication logs for session reuse anomalies that may indicate credential theft

Monitoring Recommendations

  • Configure SIEM rules to alert on suspicious log file access patterns
  • Enable enhanced auditing on directories containing Jupyter server logs
  • Monitor for unusual authentication patterns that could indicate session hijacking

How to Mitigate CVE-2022-24758

Immediate Actions Required

  • Upgrade Jupyter Notebook to version 6.4.9 or later immediately
  • Review and rotate all active authentication tokens and session cookies
  • Restrict file system permissions on Jupyter server log files to root-only access where possible
  • Audit log files for any previously exposed sensitive credentials

Patch Information

Jupyter Notebook version 6.4.9 contains the official patch for this vulnerability. The fix addresses the logging behavior to prevent sensitive authentication headers from being written to log files during error conditions. Users should upgrade using pip:

bash
pip install --upgrade notebook>=6.4.9

For more details, refer to the GitHub Security Advisory.

Workarounds

  • Restrict file system permissions on Jupyter log directories to prevent unauthorized users from reading logs
  • Configure external log management to redact sensitive headers before storage
  • Consider running Jupyter in isolated environments where log access is strictly controlled
bash
# Restrict log file permissions (temporary mitigation)
chmod 600 /path/to/jupyter/logs/*.log
chown root:root /path/to/jupyter/logs/*.log

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechJupyter Notebook

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
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