Skip to content
Heist/ feed
Back to feed
Critical

JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery

Type: advisorySources: OSV

JumpServer is an open source bastion host and an operation and maintenance security audit system. Attackers can exploit a Jinja2 template injection vulnerability in JumpServer's Ansible to execute arbitrary code within the Celery container. Since the Celery container runs with root privileges and has database access, attackers could steal sensitive information from all hosts or manipulate the database. This vulnerability is fixed in v3.10.7.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-29202
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 15:44 UTC · Revision 1

Source evidence

JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery

core-osv · Original source

Published 29 Mar 2024, 14:57 UTC

JumpServer is an open source bastion host and an operation and maintenance security audit system. Attackers can exploit a Jinja2 template injection vulnerability in JumpServer's Ansible to execute arbitrary code within the Celery container. Since the Celery container runs with root privileges and has database access, attackers could steal sensitive information from all hosts or manipulate the database. This vulnerability is fixed in v3.10.7.

osv:CVE-2024-29202
Complete source record
{
  "id": "dc2ba47504b8162ce0a5afd0d7159cdefa30466bfc142a49c815b3240339365f",
  "url": "https://osv.dev/vulnerability/CVE-2024-29202",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery",
    "summary": "JumpServer is an open source bastion host and an operation and maintenance security audit system. Attackers can exploit a Jinja2 template injection vulnerability in JumpServer's Ansible to execute arbitrary code within the Celery container. Since the Celery container runs with root privileges and has database access, attackers could steal sensitive information from all hosts or manipulate the database. This vulnerability is fixed in v3.10.7.",
    "evidence": "osv:CVE-2024-29202",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-29202",
      "aliases": [
        "CVE-2024-29202",
        "GHSA-2vvr-vmvx-73ch"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jumpserver/jumpserver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7d3eb8c75d7edeb1cca3da25ae435acf678c4f69"
                },
                {
                  "fixed": "4f34ce5edb6be43fe01468faad4f158a82a08dce"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "last_affected": "3.10.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.10.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29202.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.369059908Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29202.json",
        "https://github.com/jumpserver/jumpserver/security/advisories/GHSA-2vvr-vmvx-73ch",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-29202",
        "https://www.sonarsource.com/blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29202.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-29202",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519785,
  "published_at": "2024-03-29T14:57:43.606+00:00"
}