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

Published Jul 10, 2026
·
Updated

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.

Other sources

Excon is usable, fast, simple HTTP 1.1 for Ruby. Prior to 1.5.0, Excon's RedirectFollower middleware failed to strip additional sensitive headers when following redirects and did not provide a custom list of headers to strip. This could cause inadvertent leakage of sensitive data when the initial request includes header information that is not intended for the new target. This issue is fixed in version 1.5.0.

MITRE

Excon: redact additional sensitive/risky headers when following redirects

Microsoft

Affected Software

4 affected componentsFixes available
rubygems/excon<1.5.0
1.5.0
Microsoft azl3 rubygem-excon 0.102.0-1<0.102.0-2
0.102.0-2
Excon Project Excon Ruby<1.5.0
Microsoft azl3 rubygem-excon 0.102.0-2<0.102.0-2
0.102.0-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/excon to a version that resolves this vulnerability.

    Fixed in 1.5.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.102.0-2
  3. Upgrade

    Upgrade excon to a version that resolves this vulnerability.

    Fixed in 1.5.0Patch ea89a35308a12f4b791b6c50f2cbd33f94889fa3

Event History

Jul 10, 2026
Advisory Published
via GitHub·08:37 PM
Data Sourced
via GitHub·08:37 PM
DescriptionSeverityAffected Software
Jul 17, 2026
CVE Published
via MITRE·08:09 PM
Data Sourced
via MITRE·08:09 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 19, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Updated
via Microsoft·08:01 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-54171?

CVE-2026-54171 has a medium severity rating of 6.5.

2

What impact does CVE-2026-54171 have on users?

CVE-2026-54171 can cause inadvertent leakage of sensitive data due to improper handling of headers.

3

Which software is affected by CVE-2026-54171?

CVE-2026-54171 affects the Ruby gem Excon.

4

How do I fix CVE-2026-54171?

To fix CVE-2026-54171, update to the latest version of the Excon gem that addresses this vulnerability.

5

Who is impacted by CVE-2026-54171?

Developers using Excon for HTTP requests may be impacted by CVE-2026-54171 due to the risk of leaking sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203