CVE-2026-113440: HTTP/1.1 and HTTP/2 redirects resend basic_auth and cookie to a different scheme or port in hackney
benoitc · hackney
Fixed in 4.9.0 · Affected: benoitc hackney before 4.9.0 · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 24% of scored CVEs
DescriptionCVE.org
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.
Affected products2
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- benoitc · hackneyfrom 2.0.0 before 4.9.0
- benoitc · hackneyVersions not stated
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- benoitc
- Published
- October 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-113440 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-522cwe.mitre.org
- Vendor advisorygithub.com
- Patchgithub.com
- github.com/benoitc/hackney/pull/979github.com
- cna.erlef.org/cves/CVE-2026-113440.htmlcna.erlef.org
- osv.dev/vulnerability/EEF-CVE-2026-113440osv.dev
- github.com/benoitc/hackney/commit/8f944559bdb83da60b5c06f6cf6d84github.com