{"id":"CVE-2026-76228","state":"PUBLISHED","title":"Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper","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.","publishedAt":"2026-08-19T14:02:10.197Z","updatedAt":"2026-10-08T15:25:04.592Z","severity":{"score":8.4,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["renovatebot renovate","mend renovate-ce","mend renovate-ee-server","mend renovate-ee-worker"],"affected":[{"vendor":"renovatebot","product":"renovate","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"32.124.0","status":"affected","lessThan":"42.68.5","versionType":"semver"},{"version":"42.68.5","status":"unaffected","versionType":"semver"}]},{"vendor":"mend","product":"renovate-ce","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"13.3.0","versionType":"semver"},{"version":"13.3.0","status":"unaffected","versionType":"semver"}]},{"vendor":"mend","product":"renovate-ee-server","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"13.3.0","versionType":"semver"},{"version":"13.3.0","status":"unaffected","versionType":"semver"}]},{"vendor":"mend","product":"renovate-ee-worker","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"13.3.0","versionType":"semver"},{"version":"13.3.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96","https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-gradle-wrapper"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/76xxx/CVE-2026-76228.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-76228","state":"PUBLISHED","datePublished":"2026-08-19T14:02:10.197Z","dateUpdated":"2026-10-08T15:25:04.592Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-19T11:36:02.573Z"},"containers":{"cna":{"title":"Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"renovatebot","product":"renovate","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"32.124.0","status":"affected","lessThan":"42.68.5","versionType":"semver"},{"version":"42.68.5","status":"unaffected","versionType":"semver"}]},{"vendor":"mend","product":"renovate-ce","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"13.3.0","versionType":"semver"},{"version":"13.3.0","status":"unaffected","versionType":"semver"}]},{"vendor":"mend","product":"renovate-ee-server","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"13.3.0","versionType":"semver"},{"version":"13.3.0","status":"unaffected","versionType":"semver"}]},{"vendor":"mend","product":"renovate-ee-worker","packageURL":"pkg:npm/renovate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"13.3.0","versionType":"semver"},{"version":"13.3.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-pfq2-hh62-7m96)"},{"url":"https://www.vulncheck.com/advisories/renovate-before-remote-code-execution-via-gradle-wrapper","name":"VulnCheck Advisory: Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.4,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:25:04.592Z"},"datePublic":"2026-01-13T00:00:00.000Z","credits":[{"lang":"en","value":"y4rvin","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/renovatebot/renovate/security/advisories/GHSA-pfq2-hh62-7m96","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-19T14:47:23.066070Z","id":"CVE-2026-76228","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-19T14:48:41.322Z"}}]}}}