CVE-2024-40629

Arbitrary File Write in Ansible Playbooks leads to RCE in Jumpserver

Published Jul 18, 2024 CVSS 3.1 · 10 Critical EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-38549 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.
History
Type Values Removed Values Added
First Time appeared Fit2cloud
Fit2cloud jumpserver
CPEs cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*
Vendors & Products Fit2cloud
Fit2cloud jumpserver
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 25, 2025, 7:59 PM
Reserved
Jul 8, 2024, 4:13 PM
Status
Modified
Published
Jul 18, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:46 AM