CVE-2026-54171 Details
Description
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.
A vulnerability exists in Excon's RedirectFollower middleware for Ruby, prior to version 1.5.0. The middleware did not properly remove certain sensitive headers when following redirects and lacked a mechanism for users to specify custom headers to strip. This oversight could lead to unintentional exposure of sensitive information if the initial request included headers not meant for the new destination.
Users can update to Excon version 1.5.0 or later, where this vulnerability has been fixed. Alternatively, the patch can be backported to a custom redirect follower middleware.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/excon/excon/commit/ea89a35308a12f4b791b6c50f2cbd33f94889fa3 | [email protected] | Patch |
| https://github.com/excon/excon/pull/901 | [email protected] | Issue TrackingPatch |
| https://github.com/excon/excon/security/advisories/GHSA-48rx-c7pg-q66r | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-201 | Insertion of Sensitive Information Into Sent Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| excon project excon | < 1.5.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | [email protected] |