Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96
- https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-g
- https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96
FAQ
What is CVE-2026-76228?
CVE-2026-76228 is a vulnerability with a CVSS score of 6.7 (MEDIUM). 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 ...
How severe is CVE-2026-76228?
CVE-2026-76228 has been rated MEDIUM with a CVSS base score of 6.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-76228?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.