A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-29202

CVE-2024-29202: Fit2cloud JumpServer RCE Vulnerability

CVE-2024-29202 is a Jinja2 template injection RCE vulnerability in Fit2cloud JumpServer that allows attackers to execute arbitrary code in the Celery container. This article covers technical details, affected versions, and patches.

Published: May 26, 2026

CVE-2024-29202 Overview

CVE-2024-29202 is a Jinja2 template injection vulnerability in JumpServer, an open source bastion host and operations security audit system maintained by Fit2cloud. Attackers can inject malicious Jinja2 templates into JumpServer's Ansible integration to execute arbitrary code inside the Celery container. The Celery container runs as root and holds database credentials, so successful exploitation lets attackers steal credentials for every managed host or tamper with the database directly. The flaw is tracked under CWE-94: Improper Control of Generation of Code and is fixed in JumpServer v3.10.7.

Critical Impact

An authenticated low-privilege attacker can achieve root-level remote code execution inside the Celery container, exposing credentials for all managed assets and granting full database access.

Affected Products

  • Fit2cloud JumpServer versions prior to v3.10.7
  • JumpServer Celery container (Ansible task execution component)
  • Deployments exposing the JumpServer Ansible playbook or task interface to authenticated users

Discovery Timeline

  • 2024-03-29 - CVE-2024-29202 published to the National Vulnerability Database (NVD)
  • 2025-03-25 - Last updated in NVD database

Technical Details for CVE-2024-29202

Vulnerability Analysis

JumpServer uses Ansible to run playbooks against managed hosts for tasks such as account rotation and asset operations. Ansible processes user-controllable fields through the Jinja2 templating engine before dispatching tasks. JumpServer fails to sanitize attacker-controlled inputs that flow into Jinja2 expressions, allowing template injection during playbook rendering.

When the crafted template renders inside the Celery worker, Jinja2 evaluates Python expressions reachable through object introspection. The attacker gains arbitrary command execution in the Celery container. Because Celery executes as root and is configured with direct database connectivity, the impact extends to credential theft for every managed asset and full read/write access to the JumpServer database.

Root Cause

The root cause is improper input validation on fields consumed by Ansible's Jinja2 renderer ([CWE-94]). JumpServer treats authenticated user input as trusted before it reaches the templating layer, so curly-brace expressions are evaluated rather than escaped.

Attack Vector

An authenticated attacker with low privileges submits a payload containing Jinja2 syntax into a JumpServer field consumed by an Ansible task. When the task executes, Celery renders the template and invokes Python primitives reachable from the Jinja2 sandbox, producing command execution as root inside the Celery container. Technical analysis is documented in the JumpServer GitHub Security Advisory GHSA-2vvr-vmvx-73ch and the SonarSource research blog.

// No verified public exploit code is referenced in the advisory.
// Refer to the SonarSource analysis for sanitized technical detail.

Detection Methods for CVE-2024-29202

Indicators of Compromise

  • Unexpected child processes spawned by the Celery worker inside the JumpServer Celery container, especially shells such as sh, bash, or interpreters like python.
  • Ansible task logs containing Jinja2 control sequences such as {{, }}, __class__, __mro__, or subprocess within user-supplied fields.
  • Outbound network connections initiated by the Celery container to attacker-controlled hosts.
  • Unauthorized reads or writes against the JumpServer database, including dumps of the assets_account or credential tables.

Detection Strategies

  • Inspect JumpServer application logs and Ansible job output for template syntax in fields that should contain plain identifiers.
  • Monitor container runtime telemetry for process lineage anomalies under the Celery worker, where only Python and Ansible binaries are expected.
  • Alert on JumpServer database queries originating from unexpected sessions or returning bulk credential rows.

Monitoring Recommendations

  • Forward JumpServer, Celery, and container runtime logs to a centralized analytics platform for correlation across job submission, template rendering, and process execution.
  • Baseline the Celery container's normal process tree and file system writes, then alert on deviations.
  • Enable audit logging on the JumpServer database and review for queries that touch credential or asset tables outside normal application flows.

How to Mitigate CVE-2024-29202

Immediate Actions Required

  • Upgrade all JumpServer deployments to v3.10.7 or later, which fixes the Jinja2 template injection path.
  • Rotate every credential stored or brokered by JumpServer, including SSH keys, database passwords, and cloud secrets, assuming exposure.
  • Restrict network access to the JumpServer management interface so only trusted administrators can authenticate.
  • Review Ansible job history and Celery container logs for evidence of template-injection payloads before the patch was applied.

Patch Information

Fit2cloud released the fix in JumpServer v3.10.7. Patch details and upgrade guidance are published in the JumpServer GitHub Security Advisory GHSA-2vvr-vmvx-73ch. Apply the upgrade through the standard JumpServer deployment process and verify the running version after restart.

Workarounds

  • If immediate upgrade is not possible, limit JumpServer accounts permitted to create or modify Ansible-driven tasks to a small set of trusted administrators.
  • Place JumpServer behind a network policy that blocks outbound traffic from the Celery container to untrusted destinations.
  • Run the Celery container with the least privileges feasible and isolate its database role so it cannot read unrelated credential tables.
bash
# Verify the installed JumpServer version after patching
docker exec jms_core bash -c "cat /opt/jumpserver/apps/jumpserver/const.py | grep VERSION"

# Confirm the Celery container image tag matches v3.10.7 or later
docker inspect jms_celery --format '{{.Config.Image}}'

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.9

  • EPSS Probability79.98%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • SonarSource Blog Analysis
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31864: Fit2cloud JumpServer RCE Vulnerability

  • CVE-2024-40629: Fit2cloud JumpServer RCE Vulnerability

  • CVE-2024-29201: Fit2cloud JumpServer RCE Vulnerability

  • CVE-2023-48193: Fit2cloud JumpServer RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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