CVE-2026-76228
published high CVSS 4.0 · 8.4Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| renovatebot | — | renovate32.124.0 to < 42.68.5 (affected · semver) · 42.68.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| mend | — | renovate-ce0 to < 13.3.0 (affected · semver) · 13.3.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| mend | — | renovate-ee-server0 to < 13.3.0 (affected · semver) · 13.3.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| mend | — | renovate-ee-worker0 to < 13.3.0 (affected · semver) · 13.3.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.7 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| renovatebot | renovate | 32.124.0 to < 42.68.5 (affected · semver)42.68.5 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| mend | renovate-ce | 0 to < 13.3.0 (affected · semver)13.3.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| mend | renovate-ee-server | 0 to < 13.3.0 (affected · semver)13.3.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| mend | renovate-ee-worker | 0 to < 13.3.0 (affected · semver)13.3.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
2- GitHub Security Advisory (GHSA-pfq2-hh62-7m96) https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96
- VulnCheck Advisory: Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-gradle-wrapper
Provider assertions
2VulnCheck · cna
Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7cf5861b63db77118a0d3050dac3a658fbcb8b9ac9b99d9f45204ed8125a5db2
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record