{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "32.124.0"
              },
              {
                "fixed": "42.68.5"
              },
              {
                "introduced": "0"
              },
              {
                "fixed": "13.3.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "892595aea8022e03cf3c9492faba0806e1958351"
            },
            {
              "fixed": "d2872e29f1dfbe7bc317391e57b804765d62304f"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "a3043c47ec63f7bff5611589e0949f9bf8bb2fd6"
            }
          ],
          "repo": "https://github.com/renovatebot/renovate",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pfq2-hh62-7m96"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76228.json"
  },
  "details": "Renovate versions \u003e=32.124.0 and before 42.68.5 (and Mend renovate-ce/renovate-ee before 13.3.0) contain a command injection vulnerability in Gradle Wrapper artifact handling. When Renovate processes Gradle Wrapper updates, it invokes a wrapper update command via a shell (e.g. /bin/sh -c ... ./gradlew :wrapper --gradle-distribution-url \u003cvalue\u003e). If an attacker supplies a malicious gradle-wrapper.properties whose distributionUrl contains shell command substitution syntax such as $(...), the shell evaluates it before Gradle parses the URL, resulting in arbitrary command execution in the Renovate runtime. Exploitation requires the attacker to introduce the malicious file into a repository that Renovate scans; the issue occurs even when allowScripts is disabled.",
  "id": "CVE-2026-76228",
  "modified": "2026-08-21T03:30:30.287951246Z",
  "published": "2026-08-19T14:02:10.197Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76228.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-76228"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-gradle-wrapper"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper"
}