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
    • 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-32754

CVE-2025-32754: Jenkins Ssh-agent Auth Bypass Vulnerability

CVE-2025-32754 is an authentication bypass flaw in Jenkins Ssh-agent Docker images that allows SSH host key impersonation attacks. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-32754 Overview

CVE-2025-32754 is a critical cryptographic vulnerability in Jenkins SSH-Agent Docker images version 6.11.1 and earlier. The vulnerability exists because SSH host keys are generated during the Docker image creation process rather than at container runtime. This design flaw causes all containers based on images of the same version to share identical SSH host keys, enabling man-in-the-middle attacks against Jenkins CI/CD infrastructure.

Critical Impact

Attackers positioned in the network path between Jenkins controllers and SSH build agents can impersonate build agents, potentially compromising build pipelines, injecting malicious code, or stealing sensitive credentials and artifacts.

Affected Products

  • Jenkins SSH-Agent Docker images version 6.11.1 and earlier
  • Debian-based Jenkins SSH-Agent container images
  • Jenkins CI/CD environments using containerized SSH build agents

Discovery Timeline

  • 2025-04-10 - CVE-2025-32754 published to NVD
  • 2025-04-10 - Jenkins releases security advisory SECURITY-3565
  • 2025-05-02 - Last updated in NVD database

Technical Details for CVE-2025-32754

Vulnerability Analysis

This vulnerability falls under CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator), though the core issue is more accurately described as improper key management during container image builds. In Jenkins SSH-Agent Docker images based on Debian, SSH host keys are generated once during the docker build process and baked into the resulting image layer. Every container instantiated from that image inherits these identical host keys.

SSH host keys serve as the cryptographic identity of an SSH server, allowing clients to verify they are connecting to the expected server. When multiple containers share the same host keys, an attacker who obtains these keys—or simply positions themselves to intercept network traffic—can impersonate any SSH build agent to the Jenkins controller. The attack does not require prior authentication, can be executed over the network, and compromises both confidentiality and integrity of the CI/CD pipeline communications.

Root Cause

The root cause is the timing of SSH host key generation in the Docker image build process. Standard SSH server installation procedures generate host keys at package installation time. When this occurs during docker build, the keys become static artifacts embedded in the image. The fix requires deferring key generation to container startup (runtime) so each container instance generates its own unique cryptographic identity.

Attack Vector

The attack requires network positioning between the Jenkins controller (SSH client) and the SSH build agent containers. An attacker with this position can:

  1. Intercept the SSH connection initiation from the Jenkins controller
  2. Present the known (shared) SSH host key to satisfy any host key verification
  3. Establish a separate connection to the legitimate build agent
  4. Relay, modify, or inject commands and data between both parties

This man-in-the-middle position allows attackers to steal credentials, modify build artifacts, inject malicious code into software builds, or exfiltrate sensitive source code and secrets. Since Jenkins pipelines often have elevated privileges and access to production deployment credentials, the impact extends well beyond the immediate CI/CD environment.

Detection Methods for CVE-2025-32754

Indicators of Compromise

  • Multiple Jenkins SSH-Agent containers presenting identical SSH host key fingerprints
  • Unexpected SSH connection terminations or re-negotiations during build agent communications
  • Network traffic anomalies between Jenkins controllers and build agent subnets
  • SSH host key fingerprint mismatches reported by Jenkins controller logs

Detection Strategies

  • Inventory all running Jenkins SSH-Agent containers and compare SSH host key fingerprints across instances
  • Monitor for SSH connections originating from unexpected network segments toward build agents
  • Implement network segmentation monitoring to detect unauthorized man-in-the-middle positions
  • Review Jenkins controller logs for SSH authentication anomalies or host key warnings

Monitoring Recommendations

  • Deploy network intrusion detection to identify ARP spoofing or other MITM techniques
  • Enable verbose SSH logging on Jenkins controllers to capture host key verification events
  • Implement container image version tracking to identify vulnerable jenkins/ssh-agent deployments
  • Use SentinelOne Singularity for containerized workloads to monitor for suspicious network behavior

How to Mitigate CVE-2025-32754

Immediate Actions Required

  • Upgrade Jenkins SSH-Agent Docker images to version 6.11.2 or later immediately
  • Regenerate all SSH host keys on existing build agent containers before upgrading
  • Audit network architecture to minimize exposure of build agent traffic to untrusted network segments
  • Rotate any credentials or secrets that may have traversed affected SSH connections

Patch Information

Jenkins has released version 6.11.2 of the SSH-Agent Docker images which addresses this vulnerability by generating SSH host keys at container startup rather than during image build. Refer to the Jenkins Security Advisory SECURITY-3565 for complete details and upgrade instructions.

Workarounds

  • Remove pre-generated SSH host keys from custom images and regenerate them in container entrypoint scripts
  • Implement strict network segmentation isolating Jenkins controllers and build agents from untrusted network segments
  • Use TLS/VPN tunneling for all Jenkins controller to build agent communications as an additional layer
  • Consider alternative build agent connection methods that do not rely on SSH host key verification
bash
# Container entrypoint workaround - regenerate SSH host keys at startup
#!/bin/bash
# Remove existing host keys and regenerate
rm -f /etc/ssh/ssh_host_*
ssh-keygen -A
# Start SSH daemon
exec /usr/sbin/sshd -D

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechJenkins

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-338
  • Vendor Resources
  • Jenkins Security Advisory #SECURITY-3565
  • Related CVEs
  • CVE-2026-33002: Jenkins Auth Bypass Vulnerability

  • CVE-2025-47884: Jenkins OpenID Connect Auth Bypass Flaw

  • CVE-2025-47889: Jenkins WSO2 Oauth Auth Bypass Flaw

  • CVE-2025-24399: Jenkins OpenID Connect Auth Bypass Flaw
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