Advisory

GHSA-48rx-c7pg-q66r

Also known as: CVE-2026-54171

Summary

Excon does not redact additional sensitive/risky headers when following redirects

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-10 20:37 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

excon

RubyGems · All systems

Affected

  • introduced 0, fixed 1.5.0 (ecosystem)

Fixed versions

1.5.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences