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

- Severity: Low 3.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-02-05T08:00:00.000Z
- Modified: 2026-10-25T01:04:41.326Z
- Also known as: CURL-CVE-2025-0167
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: curl

## 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.

(As written by CVE List.)

## Affected

- curl curl: from 8.11.1 up to 8.11.1; from 8.11.0 up to 8.11.0; from 8.10.1 up to 8.10.1; from 8.10.0 up to 8.10.0; from 8.9.1 up to 8.9.1; from 8.9.0 up to 8.9.0; from 8.8.0 up to 8.8.0; from 8.7.1 up to 8.7.1; from 8.7.0 up to 8.7.0; from 8.6.0 up to 8.6.0; from 8.5.0 up to 8.5.0; from 8.4.0 up to 8.4.0; and 25 more
- https://github.com/curl/curl.git: from 7.76.0 before 8.12.0; from 46620b97431e19c53ce82e55055c85830f088cf4 before 0e120c5b925e8ca75d5319e319e5ce4b8080d8eb
- haxx curl: from 7.76.0 before 8.12.0
- netapp h700s_firmware: no versions given
- netapp h615c_firmware: no versions given
- netapp h610s_firmware: no versions given
- netapp h610c_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp bootstrap_os: no versions given
- netapp element_software: no versions given
- netapp ontap: 9
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp ontap_tools: 9
- netapp solidfire_&_hci_management_node: no versions given
- netapp solidfire_&_hci_storage_node: no versions given

## Every score

- CISA-ADP: CVSS:3.1 3.4 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N`
- curl: rating Low

## References

- <https://curl.se/docs/CVE-2025-0167.html> (exploit, vendor-advisory)
- <https://hackerone.com/reports/2917232> (exploit, issue-tracking, third-party-advisory)
- <https://curl.se/docs/CVE-2025-0167.json> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20250306-0008/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>

## Sources

- CVE List: [CVE-2025-0167](https://www.cve.org/CVERecord?id=CVE-2025-0167), CVE Terms of Use, modified 2026-10-15
- curl: [CURL-CVE-2025-0167](https://osv.dev/vulnerability/CURL-CVE-2025-0167), MIT, modified 2026-10-25
- NVD: [CVE-2025-0167](https://nvd.nist.gov/vuln/detail/CVE-2025-0167), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-0167 · Whole record: https://cve.day/CVE-2025-0167.json · Rebuilt by cve.day 2026-11-25T22:58:53.798Z
