password leak with netrc and user in URL (curl curl)

CVE-2026-8926
CRITICAL 9.1

En bref

Source
NVD
EPSS
EPSS 0.44 % · centile 39 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
curl
Statut NVD
Modified

Description

When asking curl to use a `.netrc` file to find credentials and at the same time specifying a URL with a username (without a password), like `https://user@example.com/`, curl could wrongly get and use the password for *another* user set in the `.netrc` file for that host if such a one exists and there is no match for the specified user.

Faiblesses (CWE)

  • CWE-522 — Identifiants insuffisamment protégés

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
curl · curlaffected 8.11.1 < 8.14.2 ; affected 8.15.0 < 8.16.1 ; affected 8.17.0 < 8.20.1
curl · curlaffected e9b9bbac22c26cf67316fa8e6c6b9e831af31949 < 4ae1d7cc2643e4773a136395f12bc02fc6867854
curl · curlaffected 8.20.0 ; affected 8.19.0 ; affected 8.18.0 ; affected 8.17.0 ; affected 8.16.0 ; affected 8.15.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD