CVE-2026-31864 JumpServer has a Server-Side Template Injection Leading to RCE via YAML Rendering
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fit2cloud jumpserver | < 3.10.22; >= 4.0.0, < 4.10.16 | 3.10.22, 4.10.16 | Fixed |
| jumpserver | = < 3.10.22; = >= 4.0.0, < 4.10.16 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jumpserver | = < 3.10.22 | No fix listed |
| jumpserver | = >= 4.0.0, < 4.10.16 | No fix listed |
| fit2cloud jumpserver | < 3.10.22 | 3.10.22 |
| fit2cloud jumpserver | >= 4.0.0, < 4.10.16 | 4.10.16 |
References
- https://github.com/jumpserver/jumpserver/security/advisories/GHSA-qx8h-rx2j-j5wc patch vendor-advisory
- https://github.com/jumpserver/jumpserver/pull/16608 issue-tracking