---
id: CVE-2026-76228
title: >-
  Renovate versions >=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
summary: >-
  Renovate versions >=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 …
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-08-19'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:28:37.587'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-76228'
references:
  - url: >-
      https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-gradle-wrapper
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00844
epssPercentile: 0.56476
ingestedAt: '2026-09-08T21:11:12.284Z'
---

## Overview

Renovate versions >=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 <value>). 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
