# CVE-2026-76228: Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-13T19:54:29.000Z
- Modified: 2026-10-08T16:17:42.583Z
- Also known as: GHSA-pfq2-hh62-7m96
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- renovatebot renovate: from 32.124.0 before 42.68.5 (not affected: 42.68.5)
- mend renovate-ce: before 13.3.0 (not affected: 13.3.0)
- mend renovate-ee-server: before 13.3.0 (not affected: 13.3.0)
- mend renovate-ee-worker: before 13.3.0 (not affected: 13.3.0)
- renovate (npm): from 32.124.0 before 42.68.5

## Every score

- VulnCheck: CVSS:4.0 8.4 High `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`
- VulnCheck: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-gradle-wrapper> (third-party-advisory)
- <https://github.com/renovatebot/renovate> (package)
- <https://github.com/renovatebot/renovate/releases/tag/42.68.5> (web)

## Sources

- CVE List: [CVE-2026-76228](https://www.cve.org/CVERecord?id=CVE-2026-76228), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-pfq2-hh62-7m96](https://github.com/advisories/GHSA-pfq2-hh62-7m96), CC-BY-4.0, modified 2026-08-20
- NVD: [CVE-2026-76228](https://nvd.nist.gov/vuln/detail/CVE-2026-76228), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-76228 · Whole record: https://cve.day/CVE-2026-76228.json · Rebuilt by cve.day 2026-11-25T22:59:33.938Z
