The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-25165

CVE-2023-25165: Helm Information Disclosure Vulnerability

CVE-2023-25165 is an information disclosure vulnerability in Helm that allows malicious charts to leak sensitive data through DNS lookups. This article covers the technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2023-25165 Overview

CVE-2023-25165 is an information disclosure vulnerability in Helm, the popular package manager for Kubernetes applications. The vulnerability exists in the getHostByName template function, which was introduced in Helm v3. This function accepts a hostname and performs a DNS lookup to return the corresponding IP address. The security issue arises because information passed into the chart can be disclosed to DNS servers during the lookup process, potentially exposing sensitive configuration data to unauthorized parties.

Critical Impact

Malicious Helm charts can leverage the getHostByName function to exfiltrate sensitive values and configuration data to attacker-controlled DNS servers during chart rendering operations.

Affected Products

  • Helm versions prior to 3.11.1
  • Helm SDK implementations that render charts using vulnerable versions
  • Kubernetes deployments utilizing affected Helm versions

Discovery Timeline

  • 2023-02-08 - CVE-2023-25165 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-25165

Vulnerability Analysis

This vulnerability is classified as an Information Exposure issue (CWE-200). The getHostByName template function in Helm performs DNS lookups when charts are rendered using helm install, helm upgrade, or helm template commands. The core security problem is that any data passed to this function as a hostname parameter will be transmitted to DNS servers as part of the DNS query, creating an unintended data exfiltration channel.

The vulnerability is particularly concerning in scenarios where Helm charts from untrusted sources are processed, as a malicious chart author could craft templates that embed sensitive values (such as secrets, credentials, or configuration data) into the hostname parameter. When the chart is rendered, this sensitive information would be sent to DNS servers controlled by the attacker.

Root Cause

The root cause of this vulnerability lies in the design of the getHostByName function, which directly uses user-controlled input as DNS query parameters without adequate consideration for the information disclosure implications. The function was designed for legitimate use cases of resolving hostnames during chart templating but lacked safeguards against malicious abuse where sensitive chart values could be encoded into DNS queries.

Attack Vector

The attack requires an adversary to create or modify a Helm chart that uses the getHostByName function with sensitive values as input parameters. When an unsuspecting user renders this chart using Helm commands or the Helm SDK, the sensitive information is transmitted via DNS queries. The attacker can capture this data by monitoring DNS traffic to their controlled DNS servers. This is a network-based attack that requires low privileges (the user must have permission to render Helm charts) and no user interaction beyond normal chart operations.

The exploitation mechanism works by embedding sensitive template values into DNS lookups. For example, a malicious chart could concatenate secret values with an attacker-controlled domain, causing the secrets to appear in DNS query logs when the chart is processed.

Detection Methods for CVE-2023-25165

Indicators of Compromise

  • Unusual DNS queries containing encoded data or secrets in hostnames
  • DNS traffic to unexpected or suspicious external domains during Helm operations
  • Chart templates containing getHostByName function calls with dynamic values
  • Abnormal outbound DNS activity during helm install, helm upgrade, or helm template operations

Detection Strategies

  • Audit all Helm charts for usage of the getHostByName function before deployment
  • Implement DNS monitoring to detect queries with suspicious hostname patterns during Helm operations
  • Review third-party and community Helm charts for potential malicious template functions
  • Deploy network security tools to monitor and log DNS queries originating from Kubernetes infrastructure

Monitoring Recommendations

  • Enable logging for all Helm operations in your CI/CD pipelines and production environments
  • Configure DNS query logging on internal DNS servers to detect data exfiltration attempts
  • Implement network segmentation to restrict DNS traffic from Helm-related workloads
  • Set up alerts for DNS queries containing unusually long hostnames or encoded data patterns

How to Mitigate CVE-2023-25165

Immediate Actions Required

  • Upgrade Helm to version 3.11.1 or later immediately
  • Audit all existing Helm charts in your environment for getHostByName function usage
  • Review and validate any third-party or community charts before deployment
  • Implement chart validation policies in your CI/CD pipelines to detect usage of the vulnerable function

Patch Information

The Helm project has addressed this vulnerability in version 3.11.1. The fix is available in the GitHub commit 5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2. Users should upgrade to Helm 3.11.1 or later to receive the security fix. Additional details about the vulnerability and remediation are available in the GitHub Security Advisory GHSA-pwcw-6f5g-gxf8.

Workarounds

  • Manually review all Helm chart templates for getHostByName function usage before rendering
  • Implement network policies to restrict DNS traffic during Helm operations
  • Use chart validation tools to scan for potentially dangerous template functions
  • Consider blocking untrusted charts from being deployed until they can be audited
bash
# Verify Helm version and upgrade if necessary
helm version
# Expected: version.BuildInfo{Version:"v3.11.1"} or higher

# Search for getHostByName usage in chart templates
grep -r "getHostByName" ./charts/

# Upgrade Helm to patched version
# For Linux/macOS using script
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechHelm

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2021-32690: Helm Information Disclosure Vulnerability

  • CVE-2026-35206: Helm Path Traversal Vulnerability

  • CVE-2026-35205: Helm Plugin Signature Bypass Vulnerability

  • CVE-2026-35204: Helm Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English