{"answers":{"affected":"2 open source packages ship an affected version, including renovate.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-76228 exists.","fix":"Upgrade renovate to 42.68.5 or later.","what":"CVE-2026-76228 is a high-severity command injection vulnerability in mend renovate, published on 19 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-76228 and fix it if it is affected.\n\nWhat it is: CVE-2026-76228 is a high-severity command injection vulnerability in mend renovate, published on 19 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-76228 exists.\n\nAffected packages and fixed versions:\n- renovate (npm): affected from 32.124.0; fixed in 42.68.5\n- renovate (npm): affected from 32.124.0; fixed in 42.68.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-76228/ (Markdown: https://insights.sbomify.com/CVE-2026-76228/index.md)","id":"CVE-2026-76228","markdown":"https://insights.sbomify.com/CVE-2026-76228/index.md","name":"CVE-2026-76228","record":{"aliases":["GHSA-mqp7-cg7m-4hhq","GHSA-pfq2-hh62-7m96"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Renovate dependency updater","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary commands in the Renovate runtime by injecting shell syntax into a Gradle wrapper URL within a scanned repository.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Renovate versions \u003e=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 \u003cvalue\u003e). 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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Renovate before 42.68.5 Remote Code Execution via Gradle Wrapper","id":"CVE-2026-76228","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Renovate 39.218.0 before 40.33.0 Arbitrary Command Injection via kustomize","id":"CVE-2026-76229"},"packages":[{"ecosystem":"npm","fixed":["42.68.5"],"introduced":["32.124.0"],"last_affected":[],"package":"renovate","purl":null,"source":"GHSA-pfq2-hh62-7m96"},{"ecosystem":"npm","fixed":["42.68.5"],"introduced":["32.124.0"],"last_affected":[],"package":"renovate","purl":"pkg:npm/renovate","source":"GHSA-pfq2-hh62-7m96"}],"prev":{"headline":"Renovate 42.68.1 before 42.96.3 and 43.0.0 before 43.4.4 Environment Variable Exposure","id":"CVE-2026-76227"},"products":["renovate","renovate-ce","renovate-ee-server","renovate-ee-worker"],"published":"2026-08-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["mend","renovatebot"]},"summary":"Attackers can execute arbitrary commands in the Renovate runtime by injecting shell syntax into a Gradle wrapper URL within a scanned repository.","url":"https://insights.sbomify.com/CVE-2026-76228/"}