# JLSEC-2026-420: When asked to use a `.netrc` file for credentials **and** to follow HTTP redirects, curl could leak...

- Severity: Low 3.4 (CVSS:3.1, scored by Julia Security Advisories) `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
- Published: 2026-05-04T13:12:06.605Z
- Modified: 2026-07-25T18:24:24.623Z
- Related: CVE-2025-0167, GHSA-c42g-rmxf-64ch, EUVD-2025-1518

## 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 Julia Security Advisories.)

## Affected

- CURL_jll (Julia): before 8.13.0+0
- LibCURL_jll (Julia): from 7.81.0+0 before 8.12.0+0

## References

- <https://curl.se/docs/CVE-2025-0167.html> (web)
- <https://curl.se/docs/CVE-2025-0167.json> (web)
- <https://github.com/advisories/GHSA-c42g-rmxf-64ch> (web)
- <https://hackerone.com/reports/2917232> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0167> (web)
- <https://security.netapp.com/advisory/ntap-20250306-0008> (web)
- <https://security.netapp.com/advisory/ntap-20250306-0008/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-420](https://osv.dev/vulnerability/JLSEC-2026-420), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-420 · Whole record: https://cve.day/JLSEC-2026-420.json · Rebuilt by cve.day 2026-11-25T22:56:26.113Z
