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

CVE-2024-40629: Fit2cloud JumpServer RCE Vulnerability

CVE-2024-40629 is a remote code execution flaw in Fit2cloud JumpServer that lets attackers exploit Ansible playbooks to execute arbitrary code with root privileges. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-40629 Overview

CVE-2024-40629 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 write arbitrary files, leading to remote code execution (RCE) in the Celery container. The Celery container runs as root and has database access, allowing an attacker to steal all secrets for hosts, create a new JumpServer account with admin privileges, or manipulate the database in other ways.

Critical Impact

This vulnerability enables unauthenticated remote attackers to achieve complete system compromise through arbitrary file write and subsequent code execution with root privileges, providing full access to stored credentials and administrative controls.

Affected Products

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

Discovery Timeline

  • 2024-07-18 - CVE-2024-40629 published to NVD
  • 2025-03-25 - Last updated in NVD database

Technical Details for CVE-2024-40629

Vulnerability Analysis

This vulnerability stems from improper path validation in the Ansible playbook execution component of JumpServer. The flaw allows attackers to traverse directory boundaries and write arbitrary files to locations outside the intended directories. Since the Celery container responsible for task execution runs with root privileges and maintains direct database connectivity, successful exploitation grants attackers complete control over the JumpServer environment.

The attack surface is particularly severe given JumpServer's role as a privileged access management solution. Organizations deploy JumpServer to centralize and secure access to critical infrastructure components including SSH servers, RDP endpoints, Kubernetes clusters, and databases. Compromising this centralized access point provides attackers with a gateway to numerous downstream systems and their associated credentials.

Root Cause

The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal. The Ansible playbook functionality fails to properly sanitize or validate file paths provided by users, allowing directory traversal sequences to escape the intended directory scope. This lack of input validation enables attackers to write files to arbitrary locations on the file system.

Attack Vector

The attack is network-based and can be executed without authentication or user interaction. An attacker can craft malicious Ansible playbook configurations that include path traversal sequences (such as ../) to escape the designated playbook directory. By writing malicious files to strategic locations within the Celery container's file system, the attacker can achieve code execution.

Once code execution is achieved within the Celery container, the attacker inherits root privileges and database access. This enables several devastating attack scenarios:

  • Credential Theft: Extraction of all stored secrets and credentials for managed hosts
  • Privilege Escalation: Creation of new administrative accounts within JumpServer
  • Database Manipulation: Direct modification of database records to alter access controls, audit logs, or system configurations
  • Lateral Movement: Using stolen credentials to access managed infrastructure endpoints

The vulnerability requires no special prerequisites beyond network access to the JumpServer instance, making it highly exploitable in exposed deployments.

Detection Methods for CVE-2024-40629

Indicators of Compromise

  • Unexpected file creation or modification in system directories within the Celery container
  • Suspicious Ansible playbook executions containing path traversal patterns such as ../ sequences
  • Unauthorized database queries or modifications, particularly involving user accounts or credential stores
  • New administrative accounts created without corresponding legitimate requests

Detection Strategies

  • Monitor Ansible playbook submissions for path traversal sequences and directory escape attempts
  • Implement file integrity monitoring on critical system directories within JumpServer containers
  • Review JumpServer audit logs for anomalous playbook execution patterns or unauthorized administrative actions
  • Deploy network intrusion detection rules to identify exploitation attempts targeting the playbook endpoint

Monitoring Recommendations

  • Enable comprehensive logging for all Ansible playbook operations and file system activities
  • Configure alerts for any file write operations outside designated playbook directories
  • Monitor database audit logs for unexpected credential access or user creation events
  • Implement real-time alerting for privileged operations performed through the Celery container

How to Mitigate CVE-2024-40629

Immediate Actions Required

  • Upgrade JumpServer to version 3.10.12 or 4.0.0 immediately
  • Audit existing deployments for signs of compromise, including unauthorized accounts or credential access
  • Review network exposure and restrict access to JumpServer management interfaces
  • Rotate all credentials stored within JumpServer as a precautionary measure

Patch Information

The JumpServer development team has addressed this vulnerability in release versions 3.10.12 and 4.0.0. Organizations should upgrade to one of these patched versions as soon as possible. The security advisory is available through the GitHub Security Advisory. Additional technical analysis is available from SonarSource's blog post covering the vulnerability details.

Workarounds

  • There are no known workarounds for this vulnerability according to the vendor advisory
  • Network segmentation to limit exposure of JumpServer to trusted networks only provides partial risk reduction
  • Implementing strict network access controls and firewall rules can reduce attack surface while awaiting patching
  • Monitor all JumpServer activity closely until patches can be applied

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFit2cloud Jumpserver

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability9.36%

  • 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-22
  • Technical References
  • SonarSource Blog Analysis
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31864: Fit2cloud JumpServer RCE Vulnerability

  • CVE-2023-48193: Fit2cloud JumpServer RCE Vulnerability

  • CVE-2026-31798: Jumpserver Information Disclosure Flaw

  • CVE-2025-58044: Jumpserver Open Redirect 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