CVE-2026-76228: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in renovatebot renovate
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 v4.0
Score 8.4high
Affected software
renovatebot
renovate
mend
renovate-ce
mend
renovate-ee-server
mend
renovate-ee-worker
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Renovate versions >=32.124.0 and <42.68.5, and Mend renovate-ce/renovate-ee versions <13.3.0, contain an OS command injection vulnerability in the Gradle Wrapper update process. Renovate invokes the Gradle Wrapper update command via a shell, and if the gradle-wrapper.properties file's distributionUrl includes shell command substitution syntax (e.g., $(...)), the shell executes these commands before Gradle parses the URL. This leads to arbitrary command execution within the Renovate runtime environment. The vulnerability requires an attacker to supply a malicious gradle-wrapper.properties file in a repository Renovate scans. Notably, the issue occurs even when the allowScripts configuration is disabled, increasing the risk of exploitation.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary commands on the system running Renovate with the privileges of the Renovate process. This can lead to compromise of the Renovate runtime environment, potentially affecting the integrity and security of the CI/CD pipeline or development environment where Renovate operates. The vulnerability requires local repository manipulation by the attacker but does not require user interaction or elevated privileges beyond Renovate's own.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid scanning repositories that may contain untrusted or malicious gradle-wrapper.properties files. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-19T11:36:02.573Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a85bc7eacd9273b492f49fe
Added to database: 08/19/2026, 14:23:58 UTC
Last enriched: 09/30/2026, 01:47:32 UTC
Last updated: 10/04/2026, 10:09:59 UTC
Views: 27
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.