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.
Published: 2026-08-19
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The CVE describes a command injection flaw in the handling of Gradle Wrapper artifacts by Renovate. When the tool processes a Gradle Wrapper update it runs a wrapper command via the shell and passes the distributionUrl from gradle‑wrapper.properties unvalidated. If the URL contains shell–command substitution such as $(...), the shell executes it before Gradle sees it, enabling arbitrary commands to run with the Renovate process. This command injection (CWE‑78) can lead to remote code execution on the host where Renovate is running.

Affected Systems

Affected are all versions of Renovate from 32.124.0 up to and including 42.68.4, as well as the community edition (renovate‑ce) and enterprise edition (renovate‑ee) before 13.3.0. The vulnerability exists regardless of the allowScripts setting. Users should verify their installed versions against the list and plan upgrades if they fall within the range.

Risk and Exploitability

The vulnerability scores a CVSS of 8.4, denoting high severity. EPSS is unavailable and the issue is not listed in CISA’s KEV catalog. Exploitation requires the attacker to introduce a malicious gradle‑wrapper.properties into a repository that Renovate scans, which means the attacker must have write or pull‑request privileges on that repository. Once the file is present, Renovate automatically executes the offending URL via the shell, yielding command execution on the host. Because the flaw occurs during automated update processing and ignore of allowScripts, it can affect all environments where Renovate runs without additional safeguards.

Generated by OpenCVE AI on August 20, 2026 at 03:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Renovate to version 42.68.5 or later, or upgrade renovate‑ce/ee to at least 13.3.0.
  • Restrict repository access so that only trusted users can modify or add Gradle wrapper configuration files and review changes before the Renovate runner processes them.
  • Implement a repository scan or hook that detects malicious gradle‑wrapper.properties files containing shell‑command patterns such as $(…) before they reach the Renovate process.
  • If an immediate upgrade is not possible, temporarily disable Gradle Wrapper updates in Renovate configuration until the vulnerability is patched.

Generated by OpenCVE AI on August 20, 2026 at 03:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 19 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-19T14:48:41.322Z

Reserved: 2026-08-19T11:36:02.573Z

Link: CVE-2026-76228

cve-icon Vulnrichment

Updated: 2026-08-19T14:47:35.040Z

cve-icon NVD

Status : Received

Published: 2026-08-19T14:17:49.520

Modified: 2026-08-19T15:18:10.833

Link: CVE-2026-76228

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-19T14:02:10Z

Links: CVE-2026-76228 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T04:00:11Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')