Skip to content
OpenAdvisories
High · 7.1 CVE-2026-48856 EUVD-2026-36058

httpc leaks Authorization header to cross-origin redirect targets

Published Jun 10, 2026 · Updated Oct 15, 2026 · Assigned by EEF

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.

Affected products

VendorProductAffectedFixed
Erlang OTP 17.0, 5.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 erlang 1:29.0.2+dfsg-1 —
Debian 13 erlang 1:27.3.4.1+dfsg-1+deb13u3 —
Debian 12 erlang No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS erlang 1:27.3.4.6+dfsg-1ubuntu0.2 USN-8901-1
Ubuntu 25.10 erlang No fix yet —
Ubuntu 24.04 LTS erlang 1:25.3.2.8+dfsg-1ubuntu4.8 USN-8901-1
Ubuntu 22.04 LTS erlang 1:24.2.1+dfsg-1ubuntu0.8 USN-8901-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS erlang 1:22.2.7+dfsg-1ubuntu0.5+esm3 USN-8901-1
Ubuntu Pro 18.04 LTS erlang 1:20.2.2+dfsg-1ubuntu2+esm4 USN-8901-1
Ubuntu Pro 16.04 LTS erlang 1:18.3-dfsg-1ubuntu3.1+esm4 USN-8901-1
Ubuntu Pro 14.04 LTS erlang 1:16.b.3-dfsg-1ubuntu2.2+esm3 USN-8901-1
ReleasePackageFixed inAdvisory
SLES 15 SP7 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SLES 15 SP7 erlang26 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SLES 15 SP6 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SLES 15 SP6 erlang26 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SLES 15 SP5 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SLES 15 SP4 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SLES for SAP 15 SP6 erlang26 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SLES for SAP 15 SP5 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SLES for SAP 15 SP4 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SLE HPC 15 SP5 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SLE HPC 15 SP4 erlang 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed erlang 28.5.0.4-1.1 openSUSE-SU-2026:11559-1
openSUSE Tumbleweed erlang27 27.1.3-3.1 openSUSE-SU-2026:11560-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 erlang 26.2.5.21-2 —

Advisories 6

References