CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-113440

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 6 · medium

HTTP/1.1 and HTTP/2 redirects resend basic_auth and cookie to a different scheme or port in hackney

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.313% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 6 · published by EEF
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:56.242Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:57:56.242ZCVE Program
epssverified2026-11-19T18:27:14.840ZFIRST EPSS
patchesverified2026-11-19T12:52:53.275ZOSV
affectedverified2026-11-19T12:57:56.242ZCVE Program
lifecycleverified2026-11-19T12:57:56.242ZCVE Program

Affected versions and configuration

benoitc hackney; modules: hackney; default status: unaffected: 2.0.0 to < 4.9.0 [affected; scheme: semver] benoitc hackney; modules: hackney; default status: unaffected: 8f944559bdb83da60b5c06f6cf6d842591278364 to < 6548384b22ea196023a1963e2967d5715b6d9564 [affected; scheme: git]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/benoitc/hackney",
      "vendor": "benoitc",
      "modules": [
        "hackney"
      ],
      "product": "hackney",
      "versions": [
        {
          "status": "affected",
          "version": "2.0.0",
          "lessThan": "4.9.0",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:hex/hackney",
      "packageName": "hackney",
      "programFiles": [
        "src/hackney.erl"
      ],
      "collectionURL": "https://repo.hex.pm",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "hackney:request/5"
        },
        {
          "name": "hackney:follow_redirect/10"
        },
        {
          "name": "hackney:maybe_strip_auth_on_redirect/3"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/benoitc/hackney",
      "vendor": "benoitc",
      "modules": [
        "hackney"
      ],
      "product": "hackney",
      "versions": [
        {
          "status": "affected",
          "version": "8f944559bdb83da60b5c06f6cf6d842591278364",
          "lessThan": "6548384b22ea196023a1963e2967d5715b6d9564",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/benoitc/hackney",
      "packageName": "benoitc/hackney",
      "programFiles": [
        "src/hackney.erl"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "hackney:request/5"
        },
        {
          "name": "hackney:follow_redirect/10"
        },
        {
          "name": "hackney:maybe_strip_auth_on_redirect/3"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-113440",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-11-02T21:11:36.228424Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-11-02T21:11:47.935Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "EEF-CVE-2026-113440",
  "aliases": [
    "CVE-2026-113440"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "4.9.0"
            }
          ]
        }
      ],
      "package": {
        "name": "hackney",
        "purl": "pkg:hex/hackney",
        "ecosystem": "Hex"
      },
      "versions": [
        "2.0.0",
        "2.0.1",
        "3.0.0",
        "3.0.1",
        "3.0.2",
        "3.0.3",
        "3.1.0",
        "3.1.1",
        "3.1.2",
        "3.2.0",
        "3.2.1",
        "4.0.0",
        "4.0.1",
        "4.0.2",
        "4.0.3",
        "4.1.0",
        "4.2.0",
        "4.2.1",
        "4.2.2",
        "4.2.3",
        "4.3.0",
        "4.4.0",
        "4.4.1",
        "4.4.2",
        "4.4.3",
        "4.4.5",
        "4.5.0",
        "4.5.1",
        "4.5.2",
        "4.6.0",
        "4.6.1",
        "4.7.0",
        "4.7.1",
        "4.7.2",
        "4.7.3",
        "4.7.4",
        "4.8.0",
        "4.8.1",
        "4.8.2",
        "4.8.3",
        "4.8.4",
        "4.8.5",
        "4.8.6",
        "4.8.7"
      ],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-113440.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/benoitc/hackney/releases/tag/4.9.0",
      "type": "ADVISORY"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-113440.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/benoitc/hackney/pull/979",
      "type": "WEB"
    },
    {
      "url": "https://github.com/benoitc/hackney/commit/8f944559bdb83da60b5c06f6cf6d842591278364",
      "type": "WEB"
    },
    {
      "url": "https://github.com/benoitc/hackney/commit/6548384b22ea196023a1963e2967d5715b6d9564",
      "type": "FIX"
    },
    {
      "url": "https://hex.pm/packages/hackney",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [
    {
      "ranges": [
        {
          "repo": "https://github.com/benoitc/hackney",
          "type": "GIT",
          "events": [
            {
              "introduced": "8f944559bdb83da60b5c06f6cf6d842591278364"
            },
            {
              "fixed": "6548384b22ea196023a1963e2967d5715b6d9564"
            }
          ]
        }
      ],
      "versions": [
        "4.8.6",
        "4.8.5",
        "4.8.4",
        "4.8.3",
        "4.8.2",
        "4.8.1",
        "4.8.0",
        "4.7.4",
        "4.7.3",
        "4.7.2",
        "4.7.1",
        "4.7.0",
        "4.6.1",
        "4.6.0",
        "4.5.2",
        "4.5.1",
        "4.5.0",
        "4.4.5",
        "4.4.4",
        "4.4.3",
        "4.4.2",
        "4.4.1",
        "4.4.0",
        "4.3.0",
        "4.2.3",
        "4.2.2",
        "4.2.1",
        "4.2.0",
        "4.1.0",
        "4.0.3",
        "4.0.2",
        "4.0.1",
        "4.0.0",
        "3.2.1",
        "3.2.0",
        "3.1.2",
        "3.1.1",
        "3.1.0",
        "3.0.3",
        "3.0.2",
        "3.0.1",
        "2.0.1",
        "2.0.0"
      ],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-113440.json"
      }
    }
  ],
  "database_specific": {
    "cpe_ids": [
      "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
      "CWE-522"
    ],
    "capec_ids": [
      "CAPEC-102"
    ]
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryHex / packagehackneyNot a distribution channel4.9.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history