Vulnerability · Published Jul 17, 2026 · Assigned by GitHub_M

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

Medium 6.5

In plain English

A medium-severity security flaw in excon from excon. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 62.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-exconno fix listedDEBIAN-CVE-2026-54171
Debian:13ruby-exconno fix listedDEBIAN-CVE-2026-54171
Debian:14ruby-excon1.5.0-1DEBIAN-CVE-2026-54171
RubyGemsexcon1.5.0GHSA-48rx-c7pg-q66r
Ubuntu:22.04:LTSruby-exconno fix listedUBUNTU-CVE-2026-54171
Ubuntu:24.04:LTSruby-exconno fix listedUBUNTU-CVE-2026-54171
Ubuntu:26.04:LTSruby-exconno fix listedUBUNTU-CVE-2026-54171
Ubuntu:26.10ruby-exconno fix listedUBUNTU-CVE-2026-54171

Affected products (as reported)

VendorProductVersions
excon excon < 1.5.0

Weakness: CWE-201 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

References