CVE-2024-40629

Arbitrary File Write in Ansible Playbooks leads to RCE in Jumpserver

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.

Category

10.0
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 2.22% Top 20%
Vendor Advisory github.com
Affected: jumpserver jumpserver
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-40629?
CVE-2024-40629 has been scored as a critical severity vulnerability.
How to fix CVE-2024-40629?
To fix CVE-2024-40629, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-40629 being actively exploited in the wild?
It is possible that CVE-2024-40629 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-40629?
CVE-2024-40629 affects jumpserver jumpserver.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.