Medium [CVE-2026-76228] Arbitrary Code Execution via malicious Gradle Wrapper properties
This medium-severity Red Hat Linux advisory covers CVE-2026-76228.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
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 ).
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. A flaw was found in Renovate.
This allows an attacker to execute unauthorized commands on the system running Renovate. Red Hat does not ship or use an affected version of Renovate.
Red Hat severity: Moderate — CVSS 6.7 (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H). Weakness: CWE-78.
- < 32.124.0
- < 42.68.5
- < 13.3.0
Official advisory · high-confidence parse· fetched 22 days ago·verify at source
Fixed versions
No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.
Official advisory · high-confidence parse· fetched 22 days ago·verify at source
Mitigation checklist
- Red Hat products are not affected (see statement). Upstream, the issue is resolved by upgrading Renovate to 42.68.5 or later (or Mend renovate-ce/renovate-ee to 13.3.0); it can also be mitigated by restricting repository write access so untrusted users cannot introduce a malicious gradle-wrapper.properties.
Official advisory · high-confidence parse· fetched 22 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.