token leak with redirect and netrc (curl curl)

CVE-2026-3783
MEDIUM 5.3

En bref

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

Description

When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a redirect to a second URL, curl could leak that token to the second hostname under some circumstances. If the hostname that the first request is redirected to has information in the used .netrc file, with either of the `machine` or `default` keywords, curl would pass on the bearer token set for the first host also to the second one.

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NCISA-ADP
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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 7.33.0 < 8.14.2 ; affected 8.15.0 < 8.16.1 ; affected 8.17.0 < 8.19.0
curl · curlaffected 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa < e3d7401a32a46516c9e5ee877e613e62ed35bddc
curl · curlaffected 8.18.0 ; affected 8.17.0 ; affected 8.16.0 ; affected 8.15.0 ; affected 8.14.1 ; affected 8.14.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