# CVE-2024-11053: netrc and redirect credential leak

> curl may leak netrc passwords to redirect targets if netrc entries are incomplete, exposing credentials to unintended hosts.

- **Severity:** Low 3.4 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 11 Dec 2024
- **Updated:** 15 Oct 2026
- **Also known as:** ALPINE-CVE-2024-11053, AZL-54147, AZL-54155, AZL-54212, AZL-54219, AZL-54221, AZL-54233, AZL-54240, BELL-CVE-2024-11053, CLEANSTART-2026-BE80107, CURL-CVE-2024-11053, DEBIAN-CVE-2024-11053, GHSA-h288-5fq8-5pfw, JLSEC-2026-413, MGASA-2024-0391, MINI-98vj-rh27-mv3g, MINI-c8g5-3mjm-4q35, OESA-2025-1021, OESA-2025-1022, OESA-2025-1023, OESA-2025-1024, OESA-2025-1025, SUSE-SU-2024:4284-1, SUSE-SU-2024:4284-2, SUSE-SU-2024:4287-1, SUSE-SU-2024:4288-1, SUSE-SU-2024:4359-1, SUSE-SU-2025:20106-1, UBUNTU-CVE-2024-11053, USN-7162-1, openSUSE-SU-2024:14575-1

## What is CVE-2024-11053?

CVE-2024-11053 is a low-severity vulnerability in Haxx Curl, published on 11 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

When asked to both 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 an entry that matches
the redirect target hostname but the entry either omits just the password or
omits both login and password.

## Which versions are affected by CVE-2024-11053?

It affects 11 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `curl` | SUSE:Linux Enterprise Installer Updates 15 SP5 | All versions | 8.0.1-150400.5.59.1 |
| `curl` | SUSE:Linux Enterprise Micro 5.1 | All versions | 7.66.0-150200.4.81.1 |
| `curl` | SUSE:Linux Enterprise Micro 5.2 | All versions | 7.66.0-150200.4.81.1 |
| `curl` | SUSE:Linux Enterprise Micro 5.3 | All versions | 8.0.1-150400.5.59.1 |
| `curl` | SUSE:Linux Enterprise Micro 5.4 | All versions | 8.0.1-150400.5.59.1 |
| `curl` | SUSE:Linux Enterprise Micro 5.5 | All versions | 8.0.1-150400.5.59.1 |
| `curl` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 8.0.1-150400.5.59.1 |
| `curl` | SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 8.6.0-150600.4.15.1 |
| `curl` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 8.0.1-11.101.1 |
| `curl` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 8.0.1-11.101.1 |
| `curl` | SUSE:Linux Micro 6.0 | All versions | 8.6.0-5.1 |
| `curl` | openSUSE:Leap 15.5 | All versions | 8.0.1-150400.5.59.1 |
| `curl` | openSUSE:Leap 15.6 | All versions | 8.6.0-150600.4.15.1 |
| `curl` | openSUSE:Leap Micro 5.5 | All versions | 8.0.1-150400.5.59.1 |
| `curl` | openSUSE:Tumbleweed | All versions | 8.11.1-1.1 |

Products: Haxx Curl, Netapp Bootstrap Os, Netapp H300s Firmware, Netapp H410s Firmware, Netapp H500s Firmware, Netapp H610c Firmware, Netapp H610s Firmware, Netapp H615c Firmware, Netapp H700s Firmware, Netapp Ontap, Netapp Ontap Select Deploy Administration Utility.

## How do I fix CVE-2024-11053?

Upgrade to a fixed version.

## Is CVE-2024-11053 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11053 exists.

## Other vulnerabilities in Haxx Curl

- [CVE-2026-19931](https://insights.sbomify.com/CVE-2026-19931/): Negotiate ambient user conn reuse (critical 9.8)
- [CVE-2026-10536](https://insights.sbomify.com/CVE-2026-10536/): HTTP/2 stream-dependency tree UAF (critical 9.8)
- [CVE-2026-11856](https://insights.sbomify.com/CVE-2026-11856/): cross-origin Digest auth state leak (critical 9.8)
- [CVE-2026-8925](https://insights.sbomify.com/CVE-2026-8925/): SASL double-free (critical 9.8)
- [CVE-2026-9079](https://insights.sbomify.com/CVE-2026-9079/): stale proxy password leak (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-11053 and fix it if it is affected.

What it is: CVE-2024-11053 is a low-severity vulnerability in Haxx Curl, published on 11 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11053 exists.

Affected product: Haxx Curl. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-11053/ (Markdown: https://insights.sbomify.com/CVE-2024-11053/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-11053
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-11053
- OSV: https://osv.dev/vulnerability/CVE-2024-11053

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-11053/
Summaries are generated and may contain mistakes; the official description above is the record.
