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-59060

CVE-2025-59060: Apache Ranger Auth Bypass Vulnerability

CVE-2025-59060 is a hostname verification bypass flaw in Apache Ranger NiFiRegistryClient/NiFiClient affecting versions up to 2.7.0. This vulnerability enables authentication bypass attacks. Learn about affected systems and mitigation.

Published: March 6, 2026

CVE-2025-59060 Overview

A hostname verification bypass vulnerability has been identified in Apache Ranger's NiFiRegistryClient and NiFiClient components. This security flaw affects Apache Ranger versions 2.7.0 and earlier, allowing potential attackers to bypass hostname verification during SSL/TLS certificate validation. When hostname verification is bypassed, an attacker could potentially intercept or manipulate communications between Apache Ranger and NiFi Registry or NiFi instances.

Critical Impact

This vulnerability enables network-based attackers to bypass hostname verification, potentially facilitating man-in-the-middle attacks against Apache Ranger deployments communicating with NiFi components.

Affected Products

  • Apache Ranger versions <= 2.7.0
  • Apache Ranger NiFiRegistryClient component
  • Apache Ranger NiFiClient component

Discovery Timeline

  • 2026-03-03 - CVE CVE-2025-59060 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2025-59060

Vulnerability Analysis

This vulnerability is classified as CWE-297 (Improper Validation of Certificate with Host Mismatch), which occurs when a certificate's hostname does not match the expected hostname for the server being connected to, but the connection is established anyway without proper verification.

In the context of Apache Ranger, the NiFiRegistryClient and NiFiClient components are used to communicate with Apache NiFi and NiFi Registry services. When these clients establish TLS connections, they fail to properly verify that the hostname in the server's certificate matches the intended target server. This improper certificate validation creates an opportunity for attackers positioned on the network path to impersonate legitimate NiFi or NiFi Registry servers.

The vulnerability is exploitable over the network without requiring any authentication or user interaction, although the impact is limited to potential information disclosure of data transmitted during these communications.

Root Cause

The root cause of this vulnerability lies in improper implementation of SSL/TLS hostname verification within the NiFiRegistryClient and NiFiClient classes. The affected code either disables hostname verification entirely or implements a custom hostname verifier that accepts any hostname regardless of what the server certificate specifies.

This type of vulnerability commonly occurs when developers disable hostname verification during development or testing and fail to re-enable it for production, or when custom SSL context configurations are implemented without proper hostname verification callbacks.

Attack Vector

The attack vector for CVE-2025-59060 is network-based. An attacker must be able to position themselves between the Apache Ranger server and the NiFi or NiFi Registry services—typically through ARP spoofing, DNS hijacking, or by controlling network infrastructure.

Once positioned, the attacker can present any valid SSL certificate (even one for a completely different domain) and the vulnerable Apache Ranger clients will accept it, allowing the attacker to intercept communications. This could expose sensitive configuration data, policy information, or credentials being exchanged between Apache Ranger and NiFi components.

The attack does not require authentication or user interaction, making it relatively straightforward to exploit for attackers with network access. However, the positioned nature of the attack limits its exploitability compared to direct remote attacks.

Detection Methods for CVE-2025-59060

Indicators of Compromise

  • Unexpected SSL certificate warnings or errors in Apache Ranger logs when connecting to NiFi components
  • Network traffic analysis showing connections to NiFi/NiFi Registry endpoints being routed through unexpected IP addresses
  • Certificate chain anomalies in TLS handshakes between Ranger and NiFi services
  • Suspicious ARP or DNS activity on networks hosting Apache Ranger deployments

Detection Strategies

  • Monitor Apache Ranger logs for SSL/TLS connection events to NiFi and NiFi Registry endpoints
  • Implement network monitoring to detect potential man-in-the-middle positioning attacks (ARP spoofing, DNS hijacking)
  • Deploy certificate transparency monitoring for certificates associated with your NiFi infrastructure
  • Use SentinelOne Singularity Platform to detect anomalous network behavior and potential MITM attacks

Monitoring Recommendations

  • Enable detailed SSL/TLS logging in Apache Ranger configuration to capture certificate validation events
  • Implement network segmentation and monitoring between Apache Ranger and NiFi components
  • Configure alerting for any certificate validation failures or warnings in Ranger client connections
  • Regularly audit network paths between Ranger and NiFi services for unauthorized intermediary devices

How to Mitigate CVE-2025-59060

Immediate Actions Required

  • Upgrade Apache Ranger to version 2.8.0 or later, which contains the fix for this vulnerability
  • Review network architecture to ensure secure communication paths between Apache Ranger and NiFi/NiFi Registry services
  • Implement network-level protections such as IPsec or VPN tunnels for Ranger-to-NiFi communications as a defense-in-depth measure
  • Audit existing Apache Ranger deployments to identify instances running vulnerable versions

Patch Information

Apache has released version 2.8.0 of Apache Ranger, which addresses this hostname verification bypass issue. Users running Apache Ranger versions 2.7.0 or earlier are strongly recommended to upgrade to version 2.8.0 or later. For detailed information about the security fix and upgrade instructions, refer to the Apache Security Mailing List Post and the OpenWall OSS-Security Update.

Workarounds

  • Implement mutual TLS (mTLS) authentication between Apache Ranger and NiFi components to add an additional layer of verification
  • Use network segmentation and firewall rules to restrict access to NiFi and NiFi Registry endpoints to only authorized Apache Ranger servers
  • Deploy network-level encryption (IPsec) between Ranger and NiFi services to protect traffic even if application-level TLS is compromised
  • Consider using a reverse proxy with proper certificate validation in front of NiFi services as an intermediary security layer
bash
# Configuration example - Verify Apache Ranger version
# Check current version to determine if upgrade is needed
cd /opt/ranger
./ranger-admin version

# After upgrading to 2.8.0, verify the fix is in place
# Review SSL configuration in ranger-admin-site.xml
grep -i "ssl\|hostname\|verify" /etc/ranger/admin/conf/ranger-admin-site.xml

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechApache Ranger

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-297
  • Technical References
  • OpenWall OSS-Security Update
  • Vendor Resources
  • Apache Security Mailing List Post
  • Related CVEs
  • CVE-2025-59059: Apache Ranger RCE Vulnerability

  • CVE-2024-45479: Apache Ranger SSRF Vulnerability

  • CVE-2021-40331: Apache Ranger Privilege Escalation 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