Vulnerabilities in pkg:npm/renovate

PACKAGE
Advisory Summary

GHSA-5vjq-5jmg-39xq is a MODERATE (CVSS 6.3) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Renovate libraries in the npm ecosystem. The issue involves renovate affected by remote code execution was possible using the bazel-module or bazelisk managers, when using lockfilemaintenance. Remediation is available by upgrading affected packages to version 43.102.11.

11 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/renovate

11 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/renovate. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-5vjq-5jmg-39xq - MODERATE Renovate affected by remote code execution was possible using the bazel-module or bazelisk managers, when using lockFileMaintenance
GHSA-8wc6-vgrq-x6cf - MODERATE Child processes spawned by Renovate incorrectly have full access to environment variables
GHSA-3f44-xw83-3pmg - MODERATE Renovate vulnerable to arbitrary command injection via helmv3 manager and malicious Chart.yaml file
GHSA-xjr7-3c3g-m763 - MODERATE Renovate vulnerable to arbitrary command injection via gleam manager and malicious gleam.toml file
GHSA-36j9-mx87-2cff - MODERATE Renovate vulnerable to arbitrary command injection via hermit manager and maliciously named dependencies
GHSA-fr4j-65pv-gjjj - MODERATE Renovate vulnerable to arbitrary command injection via npm manager and malicious Renovate configuration
GHSA-xv56-3wq5-9997 - MODERATE Renovate vulnerable to arbitrary command injection via kustomize manager and malicious helm repository
GHSA-pfq2-hh62-7m96 - MODERATE Renovate vulnerable to arbitrary command injection via Gradle Wrapper and malicious `distributionUrl`
GHSA-rqgv-292v-5qgr - MODERATE Renovate vulnerable to arbitrary command injection via helmv3 manager and registryAliases
GHSA-v7x3-7hw7-pcjg - MODERATE Renovate vulnerable to leakage of temporary repository tokens into Pull Request comments
GHSA-36rh-ggpr-j3gj - MODERATE Renovate vulnerable to Azure DevOps token leakage in logs

GHSA-5vjq-5jmg-39xq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-5vjq-5jmg-39xq
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Renovate
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-5vjq-5jmg-39xq

To remediate this vulnerability, upgrade all affected Renovate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

renovate fixed: 43.102.11
npm install renovate@43.102.11
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls renovate

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-5vjq-5jmg-39xq, inspect your project dependencies using npm:

npm ls renovate

Analyze the terminal output to locate any version of Renovate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 43.102.11), your application is affected.

Note: The npm ls renovate command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Renovate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

When using [`lockFileMaintenance`](https://docs.renovatebot.com/configuration-options/#lockfilemaintenance) using the [bazel-module](https://docs.renovatebot.com/modules/manager/bazel-module/) or [bazelisk](https://docs.renovatebot.com/modules/manager/bazelisk/) managers between Renovate [43.65.0](https://github.com/renovatebot/renovate/releases/tag/43.65.0) (2026-03-12) and [43.102.11](https://github.com/renovatebot/renovate/releases/tag/43.102.11) (2026-04-02), there was the opportunity for remote code execution from a malicious dependency, _if the Bazel module executes code that relies on a dependency_. As this is an "unsafe" execution path, we have disabled this by default, and self-hosted administrators must add it to the [`allowedUnsafeExecutions`](https://docs.renovatebot.com/self-hosted-configuration/#allowedunsafeexecutions) allowlist. It is recommended to review whether you have enabled this functionality for these managers, and if so, whether any dependency updates may have led to remote code execution. ## Impact If Renovate suggested an update to a malicious dependency, _and_ that dependency is referenced as part of the `bazel mod deps` call - for instance as part of a `ctx.execute` call - this would call attacker-controlled code. This could lead to [insider attackers](https://docs.renovatebot.com/security-and-permissions/#execution-of-code-insider-attack) and [outside attackers](https://docs.renovatebot.com/security-and-permissions/#execution-of-code-outsider-attack), executing code that is distributed as part of the package. ## Patches This is patched in [43.102.11](https://github.com/renovatebot/renovate/releases/tag/43.102.11). This does not affect any versions of [Mend Renovate Self-Hosted](https://www.mend.io/renovate/). ## Workarounds - Upgrade your Renovate version - Disable `lockFileMaintenance` for these managers ## Why did this happen? This was missed in code review (as part of https://github.com/renovatebot/renovate/pull/41507).

GHSA-5vjq-5jmg-39xq Affected Renovate Versions

1 component(s)
Fixed Versions:
43.102.11
Product / Package Ecosystem Affected Versions Fixed Version
renovate
npm
≥ 43.65.0
< 43.102.11
43.102.11

References

Frequently Asked Questions

What is GHSA-5vjq-5jmg-39xq?
GHSA-5vjq-5jmg-39xq is a security vulnerability in Renovate involving Renovate affected by remote code execution was possible using the bazel-module or bazelisk managers, when using lockFileMaintenance under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Renovate versions are affected?
Affected versions include releases prior to 43.102.11 across affected packages: renovate.
What version fixes GHSA-5vjq-5jmg-39xq?
Upgrading to 43.102.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is renovate affected?
Yes, renovate is affected in releases prior to 43.102.11. Upgrade your dependency to 43.102.11 or later.
What is the CVSS score of GHSA-5vjq-5jmg-39xq?
GHSA-5vjq-5jmg-39xq has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H.
What CWE is associated with GHSA-5vjq-5jmg-39xq?
GHSA-5vjq-5jmg-39xq is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check npm dependencies for GHSA-5vjq-5jmg-39xq?
Run the dependency tree command: 'npm ls renovate'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5vjq-5jmg-39xq",
  "modified" : "2026-04-16T01:34:40Z",
  "published" : "2026-04-16T01:34:39Z",
  "aliases" : [ ],
  "summary" : "Renovate affected by remote code execution was possible using the bazel-module or bazelisk managers, when using lockFileMaintenance",
  "details" : "When using [`lockFileMaintenance`](https://docs.renovatebot.com/configuration-options/#lockfilemaintenance) using the [bazel-module](https://docs.renovatebot.com/modules/manager/bazel-module/) or [bazelisk](https://docs.renovatebot.com/modules/manager/bazelisk/) managers between Renovate [43.65.0](https://github.com/renovatebot/renovate/releases/tag/43.65.0) (2026-03-12) and [43.102.11](https://github.com/renovatebot/renovate/releases/tag/43.102.11) (2026-04-02), there was the opportunity for remote code execution from a malicious dependency, _if the Bazel module executes code that relies on a dependency_.\n\nAs this is an \"unsafe\" execution path, we have disabled this by default, and self-hosted administrators must add it to the [`allowedUnsafeExecutions`](https://docs.renovatebot.com/self-hosted-configuration/#allowedunsafeexecutions) allowlist.\n\nIt is recommended to review whether you have enabled this functionality for these managers, and if so, whether any dependency updates may have led to remote code execution.\n\n## Impact\n\nIf Renovate suggested an update to a malicious dependency, _and_ that dependency is referenced as part of the `bazel mod deps` call - for instance as part of a `ctx.execute` call - this would call attacker-controlled code.\n\nThis could lead to [insider attackers](https://docs.renovatebot.com/security-and-permissions/#execution-of-code-insider-attack) and [outside attackers](https://docs.renovatebot.com/security-and-permissions/#execution-of-code-outsider-attack), executing code that is distributed as part of the package.\n \n## Patches\n\nThis is patched in [43.102.11](https://github.com/renovatebot/renovate/releases/tag/43.102.11).\n\nThis does not affect any versions of [Mend Renovate Self-Hosted](https://www.mend.io/renovate/).\n\n## Workarounds\n\n- Upgrade your Renovate version\n- Disable `lockFileMaintenance` for these managers\n\n## Why did this happen?\n\nThis was missed in code review (as part of https://github.com/renovatebot/renovate/pull/41507).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "renovate"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "43.65.0"
      }, {
        "fixed" : "43.102.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/renovatebot/renovate/security/advisories/GHSA-5vjq-5jmg-39xq"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/renovatebot/renovate"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/renovatebot/renovate/releases/tag/43.102.11"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-16T01:34:39Z",
    "nvd_published_at" : null
  }
}