The FollowRedirect client middleware strips sensitive headers (e.g., Authorization, Cookie)
headers only when the redirect target has a different authority. Because authority excludes the scheme, a redirect from https://example.com to http://example.com (same authority) is treated as same-origin, and the sensitive headers are propagated over the plaintext hop where a network observer can capture them.
Disclosure of Authorization / Cookie credentials in cleartext to a network observer when a server issues (or is induced to issue) an https->http same-authority redirect.
The CVSS base (5.9) reflects a confidentiality-only impact. The practical severity is low, because exploitation requires both a same-authority scheme downgrade in a redirect and an on-path observer.
FollowRedirect client middleware.Location).FollowRedirect for clients that carry credentials to servers that may
redirect to http://sensitiveHeaderFilter and audit redirect targets.{
"cwe_ids": [
"CWE-200",
"CWE-319"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-30T18:30:53Z",
"nvd_published_at": "2026-09-15T19:17:38Z",
"severity": "MODERATE"
}