CVE-2026-113440
Last modified
CVE-2026-113440 is a medium-severity vulnerability rated 6/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| benoitc | hackney | >= 2.0.0, < 4.9.0 |
| benoitc | hackney | >= 8f944559bdb83da60b5c06f6cf6d842591278364, < 6548384b22ea196023a1963e2967d5715b6d9564 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-113440?
How severe is CVE-2026-113440?
How do I fix CVE-2026-113440?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-113421In Eclipse ThreadX versions 6.0.1 through 6.5.2.202603, Thre…7.3
- CVE-2026-113429Legacy (v1 to v3) Actions artifact uploads stored the reques…5.4
- CVE-2026-113431Allocation of Resources Without Limits or Throttling vulnera…8.7
- CVE-2026-113436Inefficient Algorithmic Complexity vulnerability in the head…8.7
- CVE-2026-113438Pleasanter provided fails to properly verify passwords in LD…6.9
- CVE-2026-11344A vulnerability was found in code-projects Vehicle Managemen…7.3
- CVE-2026-113442Values entered by visitors were placed into the HTML summary…5.3
- CVE-2026-11345An Improper Authentication vulnerability in the /api/Cdn/Get…6.9
- CVE-2026-113459In versions running on TYPO3 10 and 11, the configured OpenA…7.1
- CVE-2026-11346A Server-Side Request Forgery (SSRF) vulnerability in the cu…5.3
- CVE-2026-113461Local privilege escalation in Checkmk 2.5.0p14 allows a loca…5.2
- CVE-2026-113465It is possible to execute a DOM-based Cross-Site Scripting a…6.6
Are you affected by CVE-2026-113440?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
