ZeroDay Brief
CVE-2025-0167

When asked to use a `.netrc` file for credentials **and** to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances.

CVSS
3.4Low
Chance of exploitation (EPSS)
—
Published
Feb 5, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A minor security flaw in Haxx Curl, Netapp Bootstrap OS, Netapp Element Software and 13 more that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Curl
7.76.0; 7.76.1; 7.77.0; 7.78.0; 7.79.0; 7.79.1; 7.80.0; 7.81.0

Description

When asked to use a `.netrc` file for credentials **and** to follow HTTP
redirects, curl could leak the password used for the first host to the
followed-to host under certain circumstances.

This flaw only manifests itself if the netrc file has a `default` entry that
omits both login and password. A rare circumstance.

Affected products

Get alerts for these →

Timeline 5

Latest change: Tenable Container Security plugin 494909: Chainguard: multiple curl packages, multiple libcurl-minimal packages: security update to 8.12.0-r0 (Dec 1, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 7

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”