Skip to main content

Jumpserver CVE-2026-31864

| EUVDEUVD-2026-12085 MEDIUM
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-03-13 GitHub_M
6.8
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Impact

While the CVSS score of 6.8 appears moderate on its surface, the actual real-world risk is elevated but constrained by privilege requirements. The attack vector is Network (AV:N) with Low Complexity (AC:L), indicating ease of exploitation once access is achieved. However, the critical privilege requirement (PR:H) and user interaction (UI:R) significantly limit the attack surface—only users with explicit administrative permissions (Application Applet Management or Virtual Application Management roles) can upload Applet/VirtualApp packages. The Impact Triple (C:H/I:H/A:H) indicates complete container compromise if exploited. Without confirmed EPSS score or active KEV/CVE-2026 official status in public databases (note: this appears to be a future-dated CVE), the risk is primarily insider threat from privileged administrators or compromised administrative accounts. The existence of a GitHub security advisory (GHSA-qx8h-rx2j-j5wc) and associated PR #16608 suggests this is a known, acknowledged vulnerability with available patches. Organizations running older JumpServer versions with high-privileged user populations pose elevated risk; this should be prioritized in environments where JumpServer administrators have conflicting interests or where account compromise is plausible.

Exploit ScenarioDerived

A JumpServer administrator with Application Applet Management permissions (either legitimate but malicious, or account compromised via phishing) creates a malicious ZIP package containing a manifest.yml file with embedded Jinja2 template injection payloads, such as: '{{ self.__init__.__globals__.__builtins__.__import__("os").system("id > /tmp/pwned") }}' or similar SSTI gadget chains. Upon uploading this package through the Applet/VirtualApp upload interface, the JumpServer Core application renders the manifest.yml through Jinja2 without sandbox restrictions, causing the injected template to execute arbitrary Python code within the container context. This results in command execution as the JumpServer container user, enabling the attacker to read sensitive configuration files, credential databases, audit logs, or pivot to connected systems. A proof-of-concept would likely demonstrate simple command execution (e.g., creating files or reverse shells) within the container. Network-based exploitation is feasible since file upload endpoints are typically accessible over HTTP/HTTPS to authorized users.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 13, 2026

JumpServer contains a Server-Side Template Injection (SSTI) vulnerability in its Applet and VirtualApp upload functionality that allows authenticated administrators to execute arbitrary code within the JumpServer Core container. The vulnerability affects JumpServer versions vulnerable to unsafe Jinja2 template rendering of user-uploaded YAML manifest files. While requiring high privilege level (Application Applet Management or Virtual Application Management permissions), successful exploitation results in complete container compromise with high confidentiality, integrity, and availability impact.

RemediationAI

  1. Apply the patch available in PR #16608 (https://github.com/jumpserver/jumpserver/pull/16608) to implement safe Jinja2 template rendering with sandbox restrictions. 2. Upgrade JumpServer to a patched version once released (specific version number not available in provided intelligence; consult GHSA-qx8h-rx2j-j5wc for release dates). 3. Interim mitigation: Restrict Applet and VirtualApp Management permissions to only essential administrative users and implement additional access controls and monitoring around manifest.yml upload activities. 4. Implement input validation and sanitization for uploaded YAML files to prevent injection payloads. 5. Use Jinja2's sandbox environment (jinja2.sandbox.SandboxedEnvironment) instead of the default unsafe Environment for all template rendering operations. 6. Monitor JumpServer container logs for suspicious template rendering activity and unexpected code execution.

Affected VersionsENISA

jumpserver 4.0.0, < 4.10.16
jumpserver < 3.10.22

Affected Packages

euvd jumpserver fix: 3.10.22, 4.10.16

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from CWE-1336 (Unsafe Processing of Untrusted Data in Template) and specifically involves unsafe Jinja2 template rendering without sandbox restrictions. JumpServer processes user-uploaded ZIP packages containing manifest.yml configuration files, directly rendering these YAML files through Jinja2's template engine. Jinja2, when used without sandboxing, allows attackers to inject arbitrary template expressions that can access Python builtins and execute arbitrary code. The affected product is the JumpServer bastion host application (cpe:2.3:a:jumpserver:jumpserver:*:*:*:*:*:*:*:*) which serves as an open-source operation and maintenance security audit system. The attack vector is network-based with low attack complexity, but requires high privilege escalation prerequisites (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H).

Know when Jumpserver gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
4.10.16,3.10.22
CVE Published
Mar 13, 2026 - 19:22 nvd
MEDIUM 6.8

DescriptionGitHub Advisory

JumpServer is an open source bastion host and an operation and maintenance security audit system. a Server-Side Template Injection (SSTI) vulnerability exists in JumpServer's Applet and VirtualApp upload functionality. This vulnerability can only be exploited by users with administrative privileges (Application Applet Management or Virtual Application Management permissions). Attackers can exploit this vulnerability to execute arbitrary code within the JumpServer Core container. The vulnerability arises from unsafe use of Jinja2 template rendering when processing user-uploaded YAML configuration files. When a user uploads an Applet or VirtualApp ZIP package, the manifest.yml file is rendered through Jinja2 without sandbox restrictions, allowing template injection attacks.

Executive ViewAI

Why It Matters

Organizations using JumpServer should be aware of notable risk from CVE-2026-31864 rated CVSS 6.8. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-48193 CRITICAL POC
9.8 Nov 28

Insecure Permissions vulnerability in JumpServer GPLv3 v.3.8.0 allows a remote attacker to execute arbitrary code via by

CVE-2024-29202 CRITICAL POC
9.9 Mar 29

JumpServer is an open source bastion host and an operation and maintenance security audit system. Rated critical severit

CVE-2024-29201 CRITICAL POC
9.9 Mar 29

JumpServer is an open source bastion host and an operation and maintenance security audit system. Rated critical severit

CVE-2023-43651 CRITICAL POC
9.9 Sep 27

JumpServer is an open source bastion host. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitabl

CVE-2023-28110 CRITICAL POC
9.9 Mar 16

Jumpserver is a popular open source bastion host, and Koko is a Jumpserver component that is the Go version of coco, ref

CVE-2023-42818 CRITICAL POC
9.8 Sep 27

JumpServer is an open source bastion host. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2023-43652 CRITICAL POC
9.1 Sep 27

JumpServer is an open source bastion host. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitabl

CVE-2023-43650 HIGH POC
7.4 Sep 27

JumpServer is an open source bastion host. Rated high severity (CVSS 7.4), this vulnerability is remotely exploitable, n

CVE-2025-62795 HIGH POC
7.1 Oct 30

Incorrect authorization in JumpServer's /ws/ldap/ WebSocket endpoint allows any authenticated low-privileged user to inv

CVE-2024-24763 MEDIUM POC
6.1 Feb 20

JumpServer is an open source bastion host and an operation and maintenance security audit system. Rated medium severity

CVE-2024-40629 CRITICAL
9.8 Jul 18

JumpServer is an open-source Privileged Access Management (PAM) tool that provides DevOps and IT teams with on-demand an

CVE-2021-3169 CRITICAL
9.8 Jul 23

An issue in Jumpserver before 2.6.2, before 2.5.4, before 2.4.5 allows attackers to create a connection token through an

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy