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

Published Aug 19, 2026
·
Updated

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 Software

2 affected components
Renovate>=32.124.0<42.68.5
Mend renovate-ce/renovate-ee<13.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Renovate to a version that resolves this vulnerability.

    Fixed in 42.68.5
  2. Upgrade

    Upgrade Mend renovate-ce/renovate-ee to a version that resolves this vulnerability.

    Fixed in 13.3.0

Event History

Aug 19, 2026
CVE Published
via MITRE·02:02 PM
Data Sourced
via MITRE·02:02 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Renovate versions 32.124.0 through before 42.68.5 are affected. Mend renovate-ce and renovate-ee versions before 13.3.0 are also affected, when they process Gradle Wrapper updates.

2

What does an attacker need to exploit this?

An attacker must be able to introduce a malicious gradle-wrapper.properties file into a repository scanned by Renovate. The file's distributionUrl must contain shell command substitution syntax, such as $(...), which is evaluated in the Renovate runtime.

3

Does disabling allowScripts prevent exploitation?

No. The issue occurs even when allowScripts is disabled because Renovate invokes the Gradle Wrapper update command through a shell.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203