PT-2026-123305
CVE-2026-113440
·
Published
2026-10-26
·
Updated
2026-10-26
Description by
CVSS 4.0
6.0
MediumMetricsAV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Insufficiently Protected Credentials vulnerability in hackney in benoitc hackney allows a redirecting server to obtain the basic auth and cookie credentials of a request via a same-host redirect to another scheme or port. With follow redirect enabled, hackney:follow redirect/10 in src/hackney.erl reissues the request to the Location target after hackney:maybe strip auth on redirect/3, which compared only the hostname of the current and the redirect URL. A redirect from https to http on the same host resent the Authorization and Cookie headers in cleartext, where an on-path attacker can read them, and a redirect to another port on the same host handed them to a different service. location trusted forwards credentials to any target by design and is unchanged.
This issue affects hackney: from 2.0.0 before 4.9.0.
Found an issue in the description? Have something to add? Feel free to write us 👾