CVE-2026-54171
JSON

6.5medium

Excon: redact additional sensitive/risky headers when following redirects

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-48rx-c7pg-q66r

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.

Affected

Product or packageVersionsReported by
excon excon< 1.5.0CVE List
excon (RubyGems)before 1.5.0GitHub Advisory Database
excon_project exconbefore 1.5.0NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-200CWE-201CWE-522

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54171 changed 2026-07-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-48rx-c7pg-q66r changed 2026-09-10CC-BY-4.0
NVDCVE-2026-54171 changed 2026-07-29Public domain