llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · renovate

GHSA-7CHM-46WX-888M

`manager/gradle-wrapper`: Command injection could be possible via unescaped `distributionUrl`

Parche disponible
Descargar PNG JSON
CVSS 3.1
7.8
Alta
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión44.14.7
Exposición84 dDesde la divulgación, 27 ago 2026, 2:12 a. m.
Detección84 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
27 ago 26
13 nov 26
20 nov 26
27 ago 26
17 sept 26
8 oct 26
29 oct 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-7CHM-46WX-888M divulgada · CVSS 7.8 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

When performing updates to the Gradle Wrapper, Renovate invokes the Gradle Wrapper to initiate the upgrade.

When self-hosting Renovate using the `binarySource=docker` https://docs.renovatebot.com/self-hosted-configuration/#binarysource mode and allowing the Gradle Wrapper to be invoked with [`allowedUnsafeExecutions=['gradleWrapper', ...]`](https://docs.renovatebot.com/self-hosted-configuration/#allowedunsafeexecutions), it was possible for a repository to specify a malicious `gradle/wrapper/gradle-wrapper.properties` for instance:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
# malicious
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip; cp /etc/passwd /tmp/passwd

This could allow for remote code execution as the Renovate user.

Impact

  • You are running in `binarySource=docker` https://docs.renovatebot.com/self-hosted-configuration/#binarysource
  • You have enabled the Gradle Wrapper to be invoked with [`allowedUnsafeExecutions=['gradleWrapper', ...]`](https://docs.renovatebot.com/self-hosted-configuration/#allowedunsafeexecutions)
  • A repository has enabled Gradle's Dependency Verification
  • A repository has a malicious `distributionUrl`
  • A repository receives an update for the Gradle Wrapper

Patches

This is patched in Renovate 44.14.7 https://github.com/renovatebot/renovate/releases/tag/44.14.7.

Workarounds

Remove [`allowedUnsafeExecutions=['gradleWrapper', ...]`](https://docs.renovatebot.com/self-hosted-configuration/#allowedunsafeexecutions)

Notes

This relates to

A reminder that `binarySource=docker` https://docs.renovatebot.com/self-hosted-configuration/#binarysource is deprecated.

Renovate's next major release (45, no release date currently planned) will remove the `docker` CLI from our Docker images, and in Renovate 46 (no release date currently planned), we intend to remove `binarySource=docker` altogether.

If you are using this mode, and cannot migrate to `binarySource=install`, please provide feedback in this Discussion https://github.com/renovatebot/renovate/discussions/40742.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
renovate< 44.14.7
44.14.7
44.239.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmrenovate
Corregida 44.14.7 — 44.239.1 no afectada
Versiones corregidas44.14.7
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/renovatebot/renovate/security/advisories/GHSA-7chm-46wx-888m

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.