# CVE-2024-40628: Arbitrary File Read in Ansible Playbooks 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): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2024-07-18T17:05:21.662Z
- Modified: 2026-06-17T07:46:12.017Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, 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 read arbitrary files in the celery container, leading to sensitive information disclosure. The Celery container runs as root and has database access, allowing the 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 addressed in release versions 3.10.12 and 4.0.0. It is recommended to upgrade the safe versions. There is 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.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/jumpserver/jumpserver/security/advisories/GHSA-rpf7-g4xh-84v9> (vendor-advisory)
- <https://www.sonarsource.com/blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2>

## Sources

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

---

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