Authenticated code execution via unsafe Jinja2 rendering
Published Mar 29, 2024 · Updated Mar 25, 2025
Server-side template injection in JumpServer 3.0.0 through 3.10.6 allows remote authenticated users to execute code in Celery. The quick-job path passes a user-controlled Ansible template to Jinja2's NativeEnvironment, which evaluates template expressions as Python in Celery. A low-privilege account and Job Center access are sufficient; successful exploitation runs as root in the container and exposes its database access and managed-host credentials.
Summary
What happened
Server-side template injection in JumpServer 3.0.0 through 3.10.6 allows remote authenticated users to execute code in Celery. The quick-job path passes a user-controlled Ansible template to Jinja2's NativeEnvironment, which evaluates template expressions as Python in Celery. A low-privilege account and Job Center access are sufficient; successful exploitation runs as root in the container and exposes its database access and managed-host credentials.
The record
- CVE
- CVE-2024-29202
- Published
- Mar 29, 2024
- Updated
- Mar 25, 2025
- Vendor
- JumpServer
- Product
- JumpServer
- Classifications
- CWE-1336, T1059.006
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 29, 2024CVE publishedPublication date reported by the CVE source.
- Mar 25, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 3.0.0, <= 3.10.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- JumpServer advisory reproduction stepsproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo