CVE-2026-76228
HIGH 8.4CVSS 4.0Renovate vulnerable to arbitrary command injection via Gradle Wrapper and malicious `distributionUrl`
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.
- Published
- 19 Aug 2026
- Last modified
- 8 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-78
- Also known as
- GHSA-pfq2-hh62-7m96
- Sources
- NVDJSONOSV GHSA-pfq2-hh62-7m96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | renovate | >= 32.124.0, < 42.68.5 | 42.68.5 |
References
- https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96 · WEB
- https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-gradle-wrapper
- https://github.com/renovatebot/renovate · PACKAGE
- https://github.com/renovatebot/renovate/releases/tag/42.68.5 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jan 2026)