CVE-2026-76228 Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm renovate | < 13.3.0; >= 32.124.0, < 42.68.5 | 13.3.0, 42.68.5 | Fixed |
| npm renovate(npm) | >= 32.124.0, < 42.68.5 | 42.68.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm renovate | >= 32.124.0, < 42.68.5 | 42.68.5 |
| npm renovate | < 13.3.0 | 13.3.0 |
| npm renovate(npm) | >= 32.124.0, < 42.68.5 | 42.68.5 |
References
- GitHub Security Advisory (GHSA-pfq2-hh62-7m96) exploit vendor-advisory
- VulnCheck Advisory: Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2519617 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- github.com
- ENISA EUVD EUVD-2026-62469 third-party-advisory