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
    • 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-2025-7342

CVE-2025-7342: Kubernetes Image Builder Privilege Escalation

CVE-2025-7342 is a privilege escalation vulnerability in Kubernetes Image Builder affecting Windows images built with Nutanix or VMware OVA providers. This post covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-7342 Overview

A security vulnerability was discovered in the Kubernetes Image Builder where default credentials are enabled during the Windows image build process when using the Nutanix or VMware OVA providers. These credentials, which allow root access, are disabled at the conclusion of the build. Kubernetes clusters are only affected if their nodes use VM images created via the Image Builder project and the vulnerability was exploited during the build process, which requires an attacker to access the build VM and modify the image while the build is in progress.

Critical Impact

This hardcoded credentials vulnerability (CWE-798) could allow an attacker with network access during the image build process to gain root-level access to Windows VM images, potentially compromising all Kubernetes cluster nodes using those images.

Affected Products

  • Kubernetes Image Builder (Windows image builds)
  • Nutanix provider for Kubernetes Image Builder
  • VMware OVA provider for Kubernetes Image Builder

Discovery Timeline

  • August 17, 2025 - CVE-2025-7342 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2025-7342

Vulnerability Analysis

This vulnerability falls under CWE-798 (Use of Hard-coded Credentials), a significant security concern in infrastructure automation tooling. The Kubernetes Image Builder employs default credentials during the Windows image build process to facilitate automated configuration and provisioning steps. While these credentials are intended to be temporary and are disabled at the conclusion of the build process, the window of exposure during active builds creates an exploitable attack surface.

The exploitation requires network access to the build VM during the image creation process. An attacker who successfully accesses the build environment can leverage the default credentials to gain root-level access, allowing them to modify the image before it is finalized. Any Kubernetes cluster subsequently deploying nodes from a compromised image would inherit the malicious modifications.

Root Cause

The root cause stems from the use of hardcoded default credentials in the Image Builder's Windows image build workflow for Nutanix and VMware OVA providers. While this approach simplifies the automated build process, it creates a time-of-check to time-of-use (TOCTOU) style vulnerability where the credentials remain active and exploitable during the entire build duration. The security assumption that the build environment is isolated and trusted may not hold in all deployment scenarios.

Attack Vector

The attack vector is network-based, requiring the attacker to gain access to the build VM during the active image build process. This represents a constrained attack window, as the vulnerability is only exploitable while the build is in progress and the default credentials are active. Successful exploitation requires:

  1. Network visibility to the build VM environment
  2. Timing the attack during an active Windows image build
  3. Using the default credentials to authenticate to the build VM
  4. Modifying the image or implanting persistent access mechanisms before the build concludes

The vulnerability requires no privileges on the target system but does require user interaction in the form of an administrator initiating an image build process.

Detection Methods for CVE-2025-7342

Indicators of Compromise

  • Unexpected network connections to build VMs during image creation processes
  • Authentication attempts using default or well-known credentials against Image Builder infrastructure
  • Unauthorized modifications to VM images or templates in Nutanix or VMware environments
  • Anomalous process execution or file system changes on build VMs during active builds

Detection Strategies

  • Monitor network traffic to and from Kubernetes Image Builder VMs for suspicious connection patterns
  • Implement audit logging for all authentication events on build infrastructure
  • Deploy file integrity monitoring on build VMs to detect unauthorized image modifications
  • Review VMware and Nutanix logs for access anomalies during image build windows

Monitoring Recommendations

  • Enable verbose logging for the Kubernetes Image Builder process
  • Configure alerts for any authentication attempts to build VMs from unexpected source IPs
  • Implement network segmentation monitoring to detect lateral movement toward build infrastructure
  • Establish baseline metrics for image build duration and flag builds that exceed normal parameters

How to Mitigate CVE-2025-7342

Immediate Actions Required

  • Isolate Kubernetes Image Builder environments from untrusted networks during build operations
  • Audit all Windows VM images previously built using Nutanix or VMware OVA providers for signs of compromise
  • Implement network segmentation to restrict access to build VMs during the image creation process
  • Review and rotate any credentials associated with the Image Builder infrastructure

Patch Information

Organizations should consult the official Kubernetes security resources for updated Image Builder versions that address this vulnerability. Additional details are available through the Kubernetes Security Announcement and the GitHub Issue Discussion. The OSS Security Mailing List also contains relevant disclosure information.

Workarounds

  • Build images only in fully isolated network environments with no external connectivity
  • Implement strict firewall rules to block all inbound connections to build VMs except from trusted management hosts
  • Use jump hosts or bastion servers with multi-factor authentication for any required access to the build environment
  • Consider implementing just-in-time (JIT) access controls for build infrastructure access
bash
# Example network isolation configuration for build environment
# Restrict inbound access to build VMs during image creation

# Block all inbound traffic to build VM network segment
iptables -A INPUT -d 10.0.100.0/24 -j DROP

# Allow only from trusted management subnet
iptables -I INPUT -s 10.0.50.0/24 -d 10.0.100.0/24 -j ACCEPT

# Log any blocked connection attempts for monitoring
iptables -I INPUT -d 10.0.100.0/24 -j LOG --log-prefix "BUILD-VM-BLOCKED: "

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechKubernetes

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-798
  • Technical References
  • GitHub Issue Discussion

  • Kubernetes Security Announcement

  • OWASP Security Mailing List Post
  • Related CVEs
  • CVE-2024-9486: Kubernetes Image Builder Privilege Escalation

  • CVE-2025-5187: Kubernetes Privilege Escalation Vulnerability

  • CVE-2023-3893: Kubernetes CSI Proxy Privilege Escalation

  • CVE-2025-4563: Kubernetes Privilege Escalation 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