CVE-2026-48856
httpc leaks Authorization header to cross-origin redirect targets
Check your servers for CVE-2026-48856
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-48856 affects inets, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- passive: a user has to take part without knowing, such as by viewing a page
- Impact on the vulnerable system
- confidentiality high, integrity none, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.56%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 40.2% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-601 URL Redirection to Untrusted Site
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
OTP
package
inets |
affected 5.10 and later (unaffected from 9.3.2.8, unaffected from 9.6.2.4, unaffected from 9.8.1)
Other versions: unknown
|
|
OTP
package
otp |
affected 17.0 and later (unaffected from 27.3.4.19, unaffected from 28.5.0.8, unaffected from 29.1.2)
Other versions: unknown
|
|
OTP
package
erlang/otp |
affected from 84adefa331c4159d432d22840663c38f155cd4c1, before f78fae9294886f95545a2212671282eda230def1 unaffected f78fae9294886f95545a2212671282eda230def1 and later
Other versions: unknown
|
Is my server affected?
Find the installed version of inets and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i inets
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-48856 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-48856RHEL, Rocky, Alma, Fedora
rpm -q inets
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-48856Alpine
apk list --installed | grep -i inetsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-48856
trivy image --scanners vuln IMAGE | grep CVE-2026-48856
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- GitHub Advisory github.com · related, vendor advisory
Patches and release notes
- Fix commit f78fae9 in erlang/otp github.com · patch
Other references
- EEF CNA record for CVE-2026-48856 cna.erlef.org · related
- OSV record EEF-CVE-2026-48856 osv.dev · related
- Erlang/OTP version ordering erlang.org
Source: the record CVE-2026-48856 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse