---
id: CVE-2026-48856
title: >-
  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 c…
summary: >-
  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 c…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-601
vendor: erlang
product: erlang/inets
affected:
  - 'erlang/inets >= 5.10, < 9.3.2.6'
  - 'erlang/inets >= 9.6, < 9.6.2.2'
  - 'erlang/inets >= 9.7, < 9.7.1'
  - 'erlang/otp >= 17.0, < 27.3.4.13'
  - 'erlang/otp >= 28.0, < 28.5.0.2'
  - 'erlang/otp >= 29.0, < 29.0.2'
patched:
  - erlang/inets 9.7.1
  - erlang/otp 29.0.2
published: '2026-06-10'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:17:14.390'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-48856'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2026-48856.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/erlang/otp/commit/688d748d6f7a6a06b13b662a1d3de8af97079612
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/erlang/otp/security/advisories/GHSA-m75x-4vwg-ggjh'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2026-48856'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://www.erlang.org/doc/system/versions.html#order-of-versions'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-10T16:23:52.053802Z'
scores:
  nvd: 6.5
  cna: 7.1
epss: 0.00558
epssPercentile: 0.44086
ingestedAt: '2026-09-24T20:51:40.288Z'
---

## Overview

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.

## Affected

- `erlang/inets >= 5.10, < 9.3.2.6`
- `erlang/inets >= 9.6, < 9.6.2.2`
- `erlang/inets >= 9.7, < 9.7.1`
- `erlang/otp >= 17.0, < 27.3.4.13`
- `erlang/otp >= 28.0, < 28.5.0.2`
- `erlang/otp >= 29.0, < 29.0.2`

## Remediation

Upgrade past the affected range:

- `erlang/inets 9.7.1`
- `erlang/otp 29.0.2`
