# CVE-2024-40629: Arbitrary File Write in Ansible Playbooks leads to RCE in Jumpserver

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.27%, higher than 70% of CVEs (2026-12-01)
- Published: 2024-07-18T17:04:10.251Z
- Modified: 2026-06-17T07:46:12.133Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jumpserver jumpserver: >= 3.0.0, < 3.10.12; from 3.0.0 before 3.10.12
- fit2cloud jumpserver: from 3.0.0 before 3.10.12

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/jumpserver/jumpserver/security/advisories/GHSA-3wgp-q8m7-v33v> (vendor-advisory)
- <https://www.sonarsource.com/blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2>

## Sources

- CVE List: [CVE-2024-40629](https://www.cve.org/CVERecord?id=CVE-2024-40629), CVE Terms of Use, modified 2025-03-25
- NVD: [CVE-2024-40629](https://nvd.nist.gov/vuln/detail/CVE-2024-40629), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40629 · Whole record: https://cve.day/CVE-2024-40629.json · Rebuilt by cve.day 2026-11-25T22:58:43.042Z
