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
    • 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-40628

CVE-2024-40628: Jumpserver Information Disclosure Flaw

CVE-2024-40628 is an information disclosure vulnerability in Fit2cloud Jumpserver allowing attackers to exploit ansible playbook to read arbitrary files in the celery container and access sensitive data including credentials.

Published: April 8, 2026

CVE-2024-40628 Overview

CVE-2024-40628 is a critical path traversal vulnerability affecting JumpServer, an open-source Privileged Access Management (PAM) tool that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database, and RemoteApp endpoints through a web browser. An attacker can exploit the Ansible playbook functionality to read arbitrary files within the Celery container, leading to sensitive information disclosure with severe consequences for the entire JumpServer deployment.

Critical Impact

The Celery container runs as root with database access, allowing attackers to steal all host secrets, create new JumpServer accounts with admin privileges, or manipulate the database in other ways. This vulnerability enables complete compromise of the PAM infrastructure.

Affected Products

  • Fit2cloud JumpServer versions prior to 3.10.12
  • Fit2cloud JumpServer versions prior to 4.0.0

Discovery Timeline

  • July 18, 2024 - CVE-2024-40628 published to NVD
  • March 25, 2025 - Last updated in NVD database

Technical Details for CVE-2024-40628

Vulnerability Analysis

This vulnerability falls under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal. The flaw exists within JumpServer's Ansible playbook execution mechanism, which fails to properly validate or sanitize file paths before accessing files within the Celery container.

The exploitation chain is particularly dangerous because the Celery container operates with root privileges and maintains direct database connectivity. This elevated access context transforms what might otherwise be a contained information disclosure issue into a full system compromise scenario. An attacker leveraging this vulnerability can not only read sensitive configuration files and credentials but can also leverage the database access to escalate privileges, create administrative accounts, or tamper with audit logs.

Root Cause

The root cause of CVE-2024-40628 lies in insufficient input validation within the Ansible playbook processing logic. The application fails to properly sanitize user-controlled input that influences file path construction, allowing directory traversal sequences (such as ../) to escape intended directory boundaries. This enables unauthorized read access to arbitrary files accessible to the Celery container process running as root.

Attack Vector

The vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker can craft malicious requests targeting the Ansible playbook functionality, embedding path traversal sequences to access files outside the intended scope.

The attack flow typically involves:

  1. Identifying a JumpServer instance exposed to the network
  2. Crafting a malicious Ansible playbook request with path traversal sequences
  3. Reading sensitive files such as database credentials, API keys, or configuration files
  4. Leveraging the extracted information to create admin accounts or exfiltrate host secrets

For detailed technical analysis of this vulnerability and the exploitation methodology, refer to the SonarSource Blog Analysis.

Detection Methods for CVE-2024-40628

Indicators of Compromise

  • Unusual file access patterns within the Celery container logs, particularly attempts to read files outside expected directories
  • Unexpected Ansible playbook execution requests containing path traversal sequences such as ../ or encoded variants
  • Creation of new administrator accounts without corresponding legitimate provisioning workflows
  • Anomalous database queries or modifications originating from the Celery container

Detection Strategies

  • Monitor Ansible playbook execution logs for suspicious file path patterns containing directory traversal sequences
  • Implement file integrity monitoring on sensitive configuration files within the JumpServer deployment
  • Audit database activity for unauthorized account creation or privilege escalation operations
  • Deploy web application firewall (WAF) rules to detect and block path traversal attempts in request payloads

Monitoring Recommendations

  • Enable verbose logging for Ansible playbook executions and forward logs to a SIEM for correlation analysis
  • Configure alerting for new administrator account creation events in JumpServer
  • Monitor the Celery container for unexpected process executions or file access patterns
  • Implement network monitoring to detect unusual outbound connections that may indicate data exfiltration

How to Mitigate CVE-2024-40628

Immediate Actions Required

  • Upgrade JumpServer immediately to version 3.10.12 or 4.0.0 or later
  • Audit existing JumpServer administrator accounts for any unauthorized additions
  • Review Celery container logs for evidence of exploitation attempts
  • Rotate all secrets and credentials stored within JumpServer as a precautionary measure
  • Restrict network access to JumpServer instances to authorized IP ranges only

Patch Information

The JumpServer development team has addressed this vulnerability in release versions 3.10.12 and 4.0.0. Organizations running vulnerable versions should upgrade immediately. Detailed patch information and security advisory details are available in the GitHub Security Advisory GHSA-rpf7-g4xh-84v9.

Workarounds

  • No official workarounds are available for this vulnerability according to the vendor advisory
  • As a temporary measure, restrict network access to JumpServer to trusted networks only
  • Implement additional network segmentation around the JumpServer deployment
  • Deploy monitoring and alerting for suspicious activity until patching can be completed
  • Consider temporarily disabling Ansible playbook functionality if operationally feasible
bash
# Example: Restrict network access to JumpServer using iptables
# Only allow access from trusted management subnet
iptables -A INPUT -p tcp --dport 80 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechFit2cloud Jumpserver

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.87%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • SonarSource Blog Analysis
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31798: Jumpserver Information Disclosure Flaw

  • CVE-2026-31864: Fit2cloud JumpServer RCE Vulnerability

  • CVE-2025-58044: Jumpserver Open Redirect Vulnerability

  • CVE-2024-40629: Fit2cloud JumpServer RCE 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