Skip to main content

excon EUVDEUVD-2026-45312

| CVE-2026-54171 MEDIUM
Insertion of Sensitive Information Into Sent Data (CWE-201)
2026-07-10 https://github.com/excon/excon GHSA-48rx-c7pg-q66r
6.5
CVSS 3.1 · Vendor: https://github.com/excon/excon
Share

Severity by source

Vendor (https://github.com/excon/excon) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI
6.5 MEDIUM

Network-reachable via outbound HTTP; no privileges required on the target; UI:R reflects the application must initiate the redirected request; C:H for full credential/token exposure; no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
6.5 MEDIUM
qualitative

Primary rating from Vendor (https://github.com/excon/excon).

CVSS VectorVendor: https://github.com/excon/excon

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Analysis Generated
Jul 10, 2026 - 22:04 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Sensitive HTTP header leakage in the excon Ruby gem's RedirectFollower middleware exposes credentials and tokens to unintended redirect destinations. Applications using the RedirectFollower middleware that include headers such as Authorization or API keys in outbound requests will inadvertently forward those headers to the redirect target - which may be attacker-controlled or a third-party service. No public exploit code has been identified and this vulnerability is not listed in CISA KEV; however, the CVSS 3.1 score of 6.5 reflects high confidentiality impact, and a vendor-released patch is available in v1.5.0.

Technical ContextAI

excon (pkg:rubygems/excon) is a Ruby HTTP client library widely used in Ruby on Rails applications and cloud tooling such as the Fog gem. The RedirectFollower middleware component is responsible for automatically following HTTP 3xx redirect responses. The root cause is the middleware's failure to strip sensitive request headers before re-issuing the request to the redirect target URL. This is a well-known class of HTTP redirect vulnerability: when a redirect crosses to a different origin or endpoint, headers intended exclusively for the original server - such as Authorization, Cookie, or API tokens - must be stripped. No CWE is assigned in the advisory, but this maps most closely to CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). The fix commit (ea89a35) and advisory (GHSA-48rx-c7pg-q66r) confirm the vulnerability is within the middleware layer of the gem itself, not in application-level code.

RemediationAI

Upgrade the excon gem to v1.5.0 or later, which patches the RedirectFollower middleware to strip sensitive headers before forwarding redirect requests. The fix is confirmed in commit ea89a35308a12f4b791b6c50f2cbd33f94889fa3 at https://github.com/excon/excon/commit/ea89a35308a12f4b791b6c50f2cbd33f94889fa3. If an immediate gem upgrade is not feasible, users can backport the fix by implementing a custom redirect follower middleware that explicitly strips sensitive headers (such as Authorization, Cookie, and any application-specific tokens) before re-issuing the request - this approach requires careful maintenance as the list of sensitive headers must be kept current. An alternative workaround is to disable automatic redirect following in excon and handle redirects manually in application code, giving the application full control over which headers are forwarded to each destination. The security advisory is available at https://github.com/excon/excon/security/advisories/GHSA-48rx-c7pg-q66r.

Vendor StatusVendor

SUSE

Severity: Moderate

Share

EUVD-2026-45312 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy