Skip to content
Threat Brief

← All advisories

CVE-2026-48856

High 7.1No known exploitationFix available

httpc leaks Authorization header to cross-origin redirect targets

Record last updated

CVSS score

7.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 27% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

Sensitive Data Exposure vulnerability in Erlang OTP inets (httpc_response module) allows Retrieve Embedded Sensitive Data. The httpc client forwards the Authorization and Proxy-Authorization request headers to redirect targets without checking whether the redirect crosses an origin boundary. httpc_response:redirect/2 constructs the redirected request by updating only the host field of the header record; all other fields (including authorization and proxy_authorization) are copied verbatim. The redirect target host is never compared against the original host. autoredirect defaults to true, so this affects all httpc callers that do not explicitly disable automatic redirects. An attacker who controls a server that the victim contacts via httpc can issue a cross-origin 3xx redirect to a server they also control. The Authorization header (including Basic credentials derived from URL userinfo via httpc_request:handle_user_info/2) is forwarded to the redirect target, allowing credential theft. The same applies to the Proxy-Authorization header. This vulnerability is associated with program files lib/inets/src/http_client/httpc_response.erl. This issue affects OTP from OTP 17.0 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to inets from 5.10 before 9.3.2.8, 9.6.2.4, and 9.8.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.

Weakness: CWE-601

Patching and mitigation

Patch status
Fix available (source: CVE record (EEF))
Fix documented (source date)
Mitigation
* Set {autoredirect, false} in the httpc:request/4 options and handle redirects manually, stripping the Authorization header when the redirect crosses an origin boundary. * Ensure that httpc is only used to contact trusted servers that will not issue cross-origin redirects. Source (opens in a new tab)
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
ErlangOTPfrom 84adefa331c4159d432d22840663c38f155cd4c1 before f78fae9294886f95545a2212671282eda230def1f78fae9294886f95545a2212671282eda230def1CVE Program
ErlangOTP17.0Not documentedCVE Program
ErlangOTP5.10Not documentedCVE Program
erlangerlang/inetsfrom 5.10 before 9.3.2.69.3.2.6NIST NVD
erlangerlang/inetsfrom 9.6 before 9.6.2.29.6.2.2NIST NVD
erlangerlang/inetsfrom 9.7 before 9.7.19.7.1NIST NVD
erlangerlang/otpfrom 17.0 before 27.3.4.1327.3.4.13NIST NVD
erlangerlang/otpfrom 28.0 before 28.5.0.228.5.0.2NIST NVD
erlangerlang/otpfrom 29.0 before 29.0.229.0.2NIST NVD
ErlangOTP (unaffected)f78fae9294886f95545a2212671282eda230def1Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by EEF

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (EEF)

    Source: CVE record (EEF) (opens in a new tab)

Vendor guidance and references