CVE-2026-48856 Details
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.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to inets from 5.10 before 9.3.2.6, 9.6.2.2, and 9.7.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
A sensitive data exposure vulnerability has been identified in the httpc_response module of the Erlang OTP inets application. This vulnerability allows for the retrieval of embedded sensitive data by improperly handling the Authorization and Proxy-Authorization headers during cross-origin redirects. When the httpc client encounters a 3xx redirect, it forwards these headers to the new target without verifying if the redirect crosses an origin boundary. This issue affects all httpc callers that do not manually disable automatic redirects, potentially leading to credential theft.
Users can update to Erlang OTP versions 29.0.2, 28.5.0.2, or 27.3.4.13, where this vulnerability has been patched. Alternatively, httpc can be configured to disable automatic redirects and manually handle them, ensuring that sensitive headers are not forwarded to untrusted origins.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.erlef.org/cves/CVE-2026-48856.html | EEF | MitigationThird Party Advisory |
| https://github.com/erlang/otp/commit/688d748d6f7a6a06b13b662a1d3de8af97079612 | EEF | Patch |
| https://github.com/erlang/otp/security/advisories/GHSA-m75x-4vwg-ggjh | EEF | MitigationVendor Advisory |
| https://osv.dev/vulnerability/EEF-CVE-2026-48856 | EEF | MitigationThird Party Advisory |
| https://www.erlang.org/doc/system/versions.html#order-of-versions | EEF | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | EEF |
Affected Products
| Product | Versions |
|---|---|
| erlang erlang/inets | >= 5.10, < 9.3.2.6 >= 9.6, < 9.6.2.2 >= 9.7, < 9.7.1 |
CPE
Remediation
| |
| erlang erlang/otp | >= 17.0, < 27.3.4.13 >= 28.0, < 28.5.0.2 >= 29.0, < 29.0.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | CVE Modified | EEF |
| Jul 24, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | Initial Analysis | [email protected] |
| Jun 10, 2026 | New CVE Received | EEF |