CVE-2026-54171 — Vulnerability in excon — CVE Details
Excon does not redact additional sensitive/risky headers when following redirects
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.43%). Schedule for your next planned update.
Does your project use an affected excon version?
Paste your Gemfile.lock to check it for CVE-2026-54171 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published July 10, 2026 (139 days ago).
- Last revised September 10, 2026 — 61 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install excon -v 1.5.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| excon RubyGems · Affected: 0.0.1, 0.0.10, 0.0.11, 0.0.12 (+274 more) | 1.5.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-200Information ExposureMITRE
- CWE-201
- CWE-522
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/excon/excon/security/advisories/GHSA-48rx-c7pg-q66rWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-54171ADVISORY
- https://github.com/excon/excon/pull/901WEB
- https://github.com/excon/excon/commit/ea89a35308a12f4b791b6c50f2cbd33f94889fa3WEB
- https://github.com/excon/exconPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/excon/CVE-2026-54171.ymlWEB
- https://www.cve.org/CVERecord?id=CVE-2026-54171WEB
Frequently Asked Questions
- What is CVE-2026-54171?
- Excon does not redact additional sensitive/risky headers when following redirects. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2026-54171?
- CVE-2026-54171 affects excon. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54171 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 28.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2019-16779MEDIUM
In RubyGem excon, interrupted Persistent Connections May Leak Response Data