CVE-2026-48856
Severity CVSS v4.0:
HIGH
Type:
CWE-601
URL Redirection to Untrusted Site ('Open Redirect')
Publication date:
10/06/2026
Last modified:
15/06/2026
Description
Sensitive Data Exposure vulnerability in Erlang OTP inets (httpc_response module) allows Retrieve Embedded Sensitive Data.<br />
<br />
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.<br />
<br />
autoredirect defaults to true, so this affects all httpc callers that do not explicitly disable automatic redirects.<br />
<br />
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.<br />
<br />
This vulnerability is associated with program files lib/inets/src/http_client/httpc_response.erl.<br />
<br />
This issue affects OTP from 17.0 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to inets from 5.10 before 9.7.1, 9.6.2.2 and 9.3.2.6.
Impact
Base Score 4.0
7.10
Severity 4.0
HIGH
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:* | 5.10 (including) | 9.3.2.6 (excluding) |
| cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:* | 9.6 (including) | 9.6.2.2 (excluding) |
| cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:* | 9.7 (including) | 9.7.1 (excluding) |
| cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* | 17.0 (including) | 27.3.4.13 (excluding) |
| cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* | 28.0 (including) | 28.5.0.2 (excluding) |
| cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* | 29.0 (including) | 29.0.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://cna.erlef.org/cves/CVE-2026-48856.html
- https://github.com/erlang/otp/commit/688d748d6f7a6a06b13b662a1d3de8af97079612
- https://github.com/erlang/otp/security/advisories/GHSA-m75x-4vwg-ggjh
- https://osv.dev/vulnerability/EEF-CVE-2026-48856
- https://www.erlang.org/doc/system/versions.html#order-of-versions



