A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-0167

CVE-2025-0167: Haxx Curl Information Disclosure Flaw

CVE-2025-0167 is an information disclosure vulnerability in Haxx Curl that leaks passwords during HTTP redirects when using .netrc files. This article covers the technical details, affected versions, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-0167 Overview

CVE-2025-0167 is an information leakage vulnerability in Haxx curl that can expose credentials stored in .netrc files when HTTP redirects are followed. When curl is configured to use a .netrc file for credentials and is instructed to follow HTTP redirects, it may inadvertently leak the password used for the first host to subsequent redirect destinations under specific circumstances.

This vulnerability manifests only when the .netrc file contains a default entry that omits both login and password fields—a rare but possible configuration scenario.

Critical Impact

Credentials intended for one host may be transmitted to unintended destinations during HTTP redirect sequences, potentially exposing sensitive authentication data to malicious or unauthorized servers.

Affected Products

  • Haxx curl (multiple versions)
  • NetApp ONTAP 9
  • NetApp Element Software
  • NetApp ONTAP Select Deploy Administration Utility
  • NetApp ONTAP Tools 9 for VMware vSphere
  • NetApp SolidFire & HCI Management Node
  • NetApp SolidFire & HCI Storage Node
  • NetApp Bootstrap OS
  • NetApp HCI Compute Node
  • NetApp H-Series Hardware (H300S, H410C, H410S, H500S, H610C, H610S, H615C, H700S) and associated firmware

Discovery Timeline

  • February 5, 2025 - CVE-2025-0167 published to NVD
  • July 30, 2025 - Last updated in NVD database

Technical Details for CVE-2025-0167

Vulnerability Analysis

This vulnerability represents an information leakage issue in curl's credential handling mechanism when processing .netrc files in conjunction with HTTP redirects. The flaw occurs during the authentication flow when curl follows redirects between different hosts.

Under normal operation, curl should scope credentials to specific hosts as defined in the .netrc file. However, when a .netrc file contains a default entry without explicit login and password fields, curl's credential resolution logic can incorrectly apply credentials from the initial request host to subsequent redirect destinations.

The exploitability requires several conditions to align: the target must be using .netrc for authentication, redirect following must be enabled, and the .netrc configuration must contain a specific malformed default entry. While this combination represents a narrow attack surface, the potential impact of credential exposure warrants attention in environments where these conditions may exist.

Root Cause

The root cause stems from improper credential scoping in curl's .netrc parsing and redirect handling logic. When processing redirects, curl fails to properly re-evaluate which credentials from the .netrc file should apply to the new destination host. This results in credentials being carried forward across host boundaries when the .netrc file contains a default entry that lacks complete authentication parameters.

Attack Vector

An attacker could potentially exploit this vulnerability by controlling or compromising a redirect destination. In this scenario:

  1. A legitimate service initiates an HTTP request using curl with .netrc credentials
  2. The attacker induces or controls a redirect to a malicious server
  3. Due to the vulnerability, curl transmits the original host's password to the redirect destination
  4. The attacker captures the leaked credentials

The attack requires network-level access and depends on the victim's specific .netrc configuration, making exploitation challenging but not impossible in targeted attack scenarios.

The vulnerability mechanism involves curl's credential handling during redirect sequences. When a .netrc file with a bare default entry is used and redirects are followed, the password from the original host may be transmitted to the redirect target. Technical details are available in the cURL CVE-2025-0167 Documentation.

Detection Methods for CVE-2025-0167

Indicators of Compromise

  • Unusual outbound HTTP requests containing authentication headers directed to unexpected destinations
  • Network traffic patterns showing redirects from legitimate services to untrusted external hosts
  • Log entries indicating credential transmission to hosts not defined in .netrc files

Detection Strategies

  • Monitor curl command invocations that use both -n/--netrc and -L/--location flags simultaneously
  • Analyze .netrc files for default entries that omit login or password fields
  • Implement network traffic analysis to detect credential leakage across redirect chains
  • Review application logs for unexpected authentication attempts to third-party services

Monitoring Recommendations

  • Deploy network monitoring to track HTTP redirect chains originating from systems using curl
  • Implement endpoint detection rules for processes accessing .netrc files
  • Configure alerting for outbound connections following redirects to previously unknown hosts
  • Audit systems for curl configurations that enable both .netrc usage and redirect following

How to Mitigate CVE-2025-0167

Immediate Actions Required

  • Update curl to the latest patched version available from Haxx
  • Review and audit all .netrc files for improperly configured default entries
  • Ensure all .netrc entries include explicit login and password fields or remove incomplete default entries
  • Consider disabling automatic redirect following where not strictly necessary

Patch Information

Haxx has released security updates addressing this vulnerability. Organizations should consult the cURL CVE-2025-0167 Documentation for specific version information and download links.

For NetApp products, refer to the NetApp Security Advisory NTAP-20250306-0008 for product-specific patch availability and guidance.

Workarounds

  • Remove or correct any default entries in .netrc files that omit login and password fields
  • Use explicit host-specific entries in .netrc files instead of default entries
  • Disable redirect following by avoiding the -L/--location flag when using .netrc authentication
  • Use alternative authentication methods such as explicit credentials or token-based authentication where feasible
bash
# Configuration example
# Review and fix .netrc files - ensure all entries have complete credentials
# Incorrect (vulnerable):
# default

# Correct (specify complete credentials for each host):
# machine example.com login myuser password mypassword

# Alternatively, disable redirect following when using .netrc:
curl --netrc --max-redirs 0 https://example.com/api

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechHaxx Curl

  • SeverityLOW

  • CVSS Score3.4

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • HackerOne Report #2917232

  • NetApp Security Advisory NTAP-20250306-0008
  • Vendor Resources
  • cURL CVE-2025-0167 Documentation

  • cURL CVE-2025-0167 JSON Data
  • Related CVEs
  • CVE-2025-5399

  • CVE-2025-5025

  • CVE-2025-4947

  • CVE-2025-0725

  • CVE-2025-0665

  • CVE-2024-11053

  • CVE-2024-9681

  • CVE-2024-8096

  • CVE-2024-2398
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
  • English
  • 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