---
schema_version: '1.0'
id: security-20260705-90e95d
url: https://osv.dev/vulnerability/CVE-2025-0167
url_hash: 90e95d8b3684f1e304c0dd7580d991a0632ac0c1302baae2aa64f366b9c491b0
canonical_url: https://osv.dev/vulnerability/CVE-2025-0167
source: osv:nvd
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2025-0167
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
- https://github.com/curl/curl
- GIT
lang: en
published_at: '2025-02-05T10:15:22Z'
fetched_at: '2026-07-05T15:34:34Z'
updated_at: '2026-07-08T15:37:32Z'
status: published
content_hash: 18edfcb3e035fa0be19402f9f7f7c820b9093295cabfa04257cd9581197bae13
license_note: full
summary: netrc and default credential leak
summary_source: rss
summary_en: netrc and default credential leak
entities:
- name: CVE-2013-0074
  type: naturalobject
- name: GitHub
  type: organization
- name: Andalucía
  type: location
- name: Default Merkel
  type: person
- name: earlyappleleaks
  type: person
related_auto:
- name: agent_openclaw
  type: person
  weight: 1.0
- name: CVSS score
  type: concept
  weight: 1.0
- name: AI Agent
  type: artifact
  weight: 1.0
- name: Hy3
  type: artifact
  weight: 1.0
- name: OpenClaw
  type: artifact
  weight: 1.0
title: CVE-2025-0167 — https://github.com/curl/curl
---

# CVE-2025-0167: netrc and default credential leak

## TL;DR
netrc and default credential leak

## Key Points
- cve / CVE-2025-0167 / severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N / https://github.com/curl/curl / GIT

## Details
**Severity:** CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
**Advisory:** CVE-2025-0167

**Affected (your watchlist):**
- `GIT:https://github.com/curl/curl` curl-8_9_1 → no fixed version listed [mac]

**Details:**
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.

**References:**
- https://curl.se/docs/CVE-2025-0167.html
- https://curl.se/docs/CVE-2025-0167.json
- https://hackerone.com/reports/2917232
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0167.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-0167
- https://security.netapp.com/advisory/ntap-20250306-0008/

_Data: OSV.dev (upstream: nvd) — https://osv.dev/vulnerability/CVE-2025-0167_

## Source
元記事: [CVE-2025-0167: netrc and default credential leak](https://osv.dev/vulnerability/CVE-2025-0167) — published 2025-02-05T10:15:22Z
