CVE-2026-3783

token leak with redirect and netrc

MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.47 % · percentile 41 ()
State
PUBLISHED
Published
Updated
Assigner
curl
NVD status
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.

Weaknesses (CWE)

  • CWE-522 — Insufficiently Protected Credentials

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
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