CVE-2026-76228
Received Received - Intake

Command Injection in Renovate Gradle Wrapper

Vulnerability report for CVE-2026-76228, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-19

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-19
Generated
2026-08-19
AI Q&A
2026-08-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
renovate renovate From 32.124.0 (inc) to 42.68.5 (exc)
mend renovate-ce to 13.3.0 (exc)
mend renovate-ee to 13.3.0 (exc)
renovatebot renovate From 32.124.0 (inc) to 42.68.5 (exc)
renovatebot renovate-ce to 13.3.0 (exc)
renovatebot renovate-ee to 13.3.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a command injection flaw in Renovate versions 32.124.0 to 42.68.4 and Mend renovate-ce/renovate-ee before 13.3.0. When Renovate updates Gradle Wrapper, it runs a shell command to handle the wrapper update. If an attacker adds a malicious gradle-wrapper.properties file with shell command substitution syntax like $(...) in the distributionUrl, the shell executes it before Gradle processes the URL, allowing arbitrary command execution in Renovate's runtime.

Detection Guidance

Check Renovate logs for Gradle Wrapper update commands. Inspect repositories for gradle-wrapper.properties files with malicious distributionUrl values containing shell syntax like $(...). Use commands like grep -r 'distributionUrl.*$(' /path/to/repos to search for suspicious files.

Impact Analysis

An attacker could execute arbitrary commands within Renovate's runtime environment. This may lead to exposure of credentials, modification of repositories, or access to internal resources. The attack requires the attacker to place a malicious file in a scanned repository but works even if allowScripts is disabled.

Compliance Impact

This vulnerability could lead to unauthorized code execution in Renovate's runtime environment, potentially exposing sensitive data such as credentials or internal resources. For GDPR, this may result in unauthorized access to personal data, violating principles of data protection and security. For HIPAA, it could allow unauthorized access to protected health information, compromising confidentiality and integrity requirements.

Mitigation Strategies

Upgrade Renovate to version 42.68.5 or later (42.74.5 for specific managers). Disable Gradle Wrapper updates if not needed. Review and remove any suspicious gradle-wrapper.properties files in scanned repositories.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-76228. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart