Critical severity · published Jul 18, 2024
CVE-2024-40629
Arbitrary File Write in Ansible Playbooks leads to RCE in Jumpserver
9.8
CVSS
1.3%
EPSS
No
On KEV
Description
JumpServer is an open-source Privileged Access Management (PAM) tool that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser. An attacker can exploit the Ansible playbook to write arbitrary files, leading to remote code execution (RCE) in the Celery container. The Celery container runs as root and has database access, allowing an attacker to steal all secrets for hosts, create a new JumpServer account with admin privileges, or manipulate the database in other ways. This issue has been patched in release versions 3.10.12 and 4.0.0. It is recommended to upgrade the safe versions. There are no known workarounds for this vulnerability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JU
jumpserver · jumpserver
>= 3.0.0, < 3.10.12 · source: vendor, NVD, CISA
Affected product
JU
jumpserver
jumpserver
More from jumpserver
9.9
CVE-2024-29202
JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery
9.9
CVE-2024-29201
JumpServer's insecure Ansible playbook validation leads to RCE in Celery
9.8
CVE-2021-3169
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 API which does not have access control and use it to…
9.1
CVE-2024-40628
Arbitrary File Read in Ansible Playbooks in Jumpserver
8.1
CVE-2025-62712
JumpServer Connection Token Leak Vulnerability