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-2026-31864

CVE-2026-31864: Fit2cloud JumpServer RCE Vulnerability

CVE-2026-31864 is a Server-Side Template Injection RCE flaw in Fit2cloud JumpServer that allows admins to execute arbitrary code. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 20, 2026

CVE-2026-31864 Overview

CVE-2026-31864 is a Server-Side Template Injection (SSTI) vulnerability affecting JumpServer, an open source bastion host and operation and maintenance security audit system. The vulnerability exists in JumpServer's Applet and VirtualApp upload functionality, allowing attackers with administrative privileges to execute arbitrary code within the JumpServer Core container.

Critical Impact

Authenticated administrators with Application Applet Management or Virtual Application Management permissions can exploit this SSTI vulnerability to achieve arbitrary code execution within the JumpServer Core container, potentially compromising the entire bastion host infrastructure.

Affected Products

  • Fit2cloud JumpServer (vulnerable versions)

Discovery Timeline

  • 2026-03-13 - CVE CVE-2026-31864 published to NVD
  • 2026-03-18 - Last updated in NVD database

Technical Details for CVE-2026-31864

Vulnerability Analysis

This vulnerability stems from unsafe handling of user-supplied content during Jinja2 template rendering. When administrators upload Applet or VirtualApp ZIP packages, the application processes the included manifest.yml configuration file through the Jinja2 template engine without implementing proper sandbox restrictions.

Jinja2, when used without sandboxing, allows access to Python's object introspection capabilities. An attacker can craft malicious template expressions within the YAML manifest that traverse Python's object hierarchy to reach dangerous functions like os.popen() or subprocess.call(). This enables arbitrary command execution within the context of the JumpServer Core container.

While the vulnerability requires administrative privileges to exploit, it represents a significant security concern for organizations relying on JumpServer as their bastion host. A compromised administrator account or a malicious insider could leverage this vulnerability to gain shell access to the container, potentially pivoting to other systems accessible through the bastion host.

Root Cause

The root cause of CVE-2026-31864 is the improper neutralization of special elements used in a template engine (CWE-1336). The application renders user-controlled YAML content through Jinja2's default template environment, which lacks sandboxing protections. This allows template expressions to access Python's built-in objects and methods, enabling arbitrary code execution. The absence of input validation on the manifest.yml file contents compounds the issue, as malicious template syntax is processed without restrictions.

Attack Vector

The attack requires network access and administrative authentication. An attacker must possess either Application Applet Management or Virtual Application Management permissions within JumpServer. The exploitation flow involves:

  1. Creating a malicious Applet or VirtualApp ZIP package containing a crafted manifest.yml file
  2. Embedding SSTI payloads within the YAML configuration that leverage Jinja2 template syntax
  3. Uploading the package through the administrative interface
  4. When JumpServer processes the manifest, the Jinja2 engine renders the malicious template expressions
  5. Template injection payloads execute arbitrary Python code within the JumpServer Core container

The vulnerability requires user interaction from an administrator to trigger the upload functionality. Successful exploitation grants code execution within the container context, potentially allowing lateral movement or data exfiltration through the bastion host.

Detection Methods for CVE-2026-31864

Indicators of Compromise

  • Unusual Applet or VirtualApp package uploads containing suspicious YAML content with Jinja2 template expressions
  • Unexpected process execution within the JumpServer Core container
  • Anomalous outbound network connections originating from the JumpServer container
  • Administrative audit logs showing repeated or unusual package upload activities

Detection Strategies

  • Monitor JumpServer administrative audit logs for Applet and VirtualApp upload activities, particularly from unexpected sources or at unusual times
  • Implement file integrity monitoring on uploaded package contents to detect YAML files containing template injection patterns
  • Deploy behavioral analysis to identify anomalous process execution within the JumpServer Core container
  • Configure alerts for any command shell spawning or network connections initiated by the JumpServer application process

Monitoring Recommendations

  • Enable comprehensive logging for all administrative actions within JumpServer, particularly those related to Applet and VirtualApp management
  • Implement network segmentation monitoring to detect lateral movement attempts from the JumpServer container
  • Review uploaded YAML configuration files for template injection patterns such as {{, {%, or references to Python object attributes
  • Establish baseline behavior for the JumpServer Core container and alert on deviations

How to Mitigate CVE-2026-31864

Immediate Actions Required

  • Apply the official security patch from JumpServer as referenced in pull request #16608
  • Review administrative access permissions and restrict Application Applet Management and Virtual Application Management privileges to essential personnel only
  • Audit recent Applet and VirtualApp uploads for any suspicious content or unexpected package submissions
  • Implement network segmentation to limit the blast radius if the JumpServer container is compromised

Patch Information

JumpServer has released a security fix addressing this vulnerability. The patch implements proper sandboxing for Jinja2 template rendering when processing uploaded YAML configuration files. Organizations should review the GitHub Security Advisory for specific version information and upgrade guidance. The technical fix is available in GitHub Pull Request #16608.

Workarounds

  • Restrict administrative privileges by removing Application Applet Management and Virtual Application Management permissions from non-essential users until patching is complete
  • Implement additional access controls or approval workflows for Applet and VirtualApp package uploads
  • Consider temporarily disabling the Applet and VirtualApp upload functionality if not operationally required
  • Deploy web application firewall rules to inspect uploaded content for template injection patterns
bash
# Configuration example
# Restrict administrative access by auditing current permissions
# Review JumpServer user permissions via the administrative console
# Remove unnecessary Applet/VirtualApp management rights

# Network segmentation: Limit JumpServer container egress
iptables -A OUTPUT -m owner --uid-owner jumpserver -j LOG --log-prefix "JumpServer Egress: "
iptables -A OUTPUT -m owner --uid-owner jumpserver -d trusted_network -j ACCEPT
iptables -A OUTPUT -m owner --uid-owner jumpserver -j DROP

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

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.05%

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