NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · RubyGems

CVE-2026-54171: Excon does not redact additional sensitive/risky headers when following redirects

mediumCVSS 3.1 6.5GHSA-48rx-c7pg-q66r

Impact The redirect follower middleware previously failed to strip a number of headers that are known to be sensitive and did not provide a way to provide a custom list of headers to strip. What kind of vulnerability is it? Who is impacted? This could cause inadvertent leakage of sensitive data for users of the RedirectFollower middleware in cases where the initial request includes header information that is not…

Published Jul 10, 2026 · Updated Jul 21, 2026

Affected packages

excon

Ecosystem
RubyGems
Affected
< 1.5.0
Fixed in
1.5.0
Check
bundle info excon

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

The redirect follower middleware previously failed to strip a number of headers that are known to be sensitive and did not provide a way to provide a custom list of headers to strip.

_What kind of vulnerability is it? Who is impacted?_ This could cause inadvertent leakage of sensitive data for users of the RedirectFollower middleware in cases where the initial request includes header information that is not intended for the new target.

Patches

Patch exists and is released in v1.5.0

Workarounds

Users can backport the fix to a custom redirect follower middleware.

Credited to SnailSploit, Lokeninfinitypoint, Amayyas.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology