CVE Catalog

CVE-2026-3783

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.45%

38th percentile - higher than 38% of all known CVEs

Summary

When an OAuth2 bearer token is used for an HTTP(S) transfer and that transfer redirects to a second URL, curl may leak the token to the second hostname under some circumstances. If the redirect target hostname has an entry in the .netrc file with the machine or default keyword, curl passes the bearer token set for the first host to the second one.

Risk Assessment

The OAuth2 token may be disclosed to an unintended host, enabling unauthorized access to protected resources. In environments with redirects and .netrc files, the risk of credential leakage is high.

Recommendation

Update curl to a version where the bearer token is not forwarded on redirect to a different host. Consider removing default entries from .netrc or restricting their use.

Other vulnerabilities in curl

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS