CVE-2026-54603: Ruby Redirect Credential Leak

A redirect location is merged and requested using the same options (which may contain credentials like an Authorization header). Cross-origin redirects can leak these credentials to a third party. Ensure headers are sanitized when following redirects across different origins.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Ruby
greprules fetch cve-2026-54603-ruby-redirect-credential-leak --engine opengrep

Description

A redirect location is merged and requested using the same options (which may contain credentials like an Authorization header). Cross-origin redirects can leak these credentials to a third party. Ensure headers are sanitized when following redirects across different origins.