Skip to content
Heist/ feed
Back to feed
High

httpc leaks Authorization header to cross-origin redirect targets

Type: advisorySources: OSV

## 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 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. ## Workarounds * Set `{autoredirect, false}` in the `httpc

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-48856
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 17:51 UTC · Revision 1

Source evidence

httpc leaks Authorization header to cross-origin redirect targets

core-osv · Original source

Published 10 Jun 2026, 14:41 UTC

## 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 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. ## Workarounds * Set `{autoredirect, false}` in the `httpc

osv:EEF-CVE-2026-48856
Complete source record
{
  "id": "edcfe369cf94009d17e292cf3eb840955bd92f390924c0682fe667fdd407cb7f",
  "url": "https://osv.dev/vulnerability/EEF-CVE-2026-48856",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "httpc leaks Authorization header to cross-origin redirect targets",
    "summary": "## 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 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. ## Workarounds * Set `{autoredirect, false}` in the `httpc",
    "evidence": "osv:EEF-CVE-2026-48856",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "EEF-CVE-2026-48856",
      "aliases": [
        "CVE-2026-48856",
        "EEF-CVE-2026-48856",
        "GHSA-m75x-4vwg-ggjh"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/erlang/otp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "84adefa331c4159d432d22840663c38f155cd4c1"
                },
                {
                  "fixed": "f78fae9294886f95545a2212671282eda230def1"
                }
              ]
            }
          ],
          "versions": [
            "patch-base-27",
            "OTP-27.3.4",
            "OTP-27.0",
            "OTP-27.3",
            "OTP-27.3.3",
            "OTP-26.0",
            "OTP-25.0",
            "OTP-27.3.2",
            "OTP-27.2",
            "OTP-27.3.1",
            "OTP-27.1",
            "OTP-27.0-rc3",
            "OTP-27.0-rc2",
            "OTP-27.0-rc1",
            "OTP-24.0",
            "OTP-26.0-rc3",
            "OTP-26.0-rc2",
            "OTP-26.0-rc1",
            "OTP-23.0",
            "OTP-21.0",
            "OTP-25.0-rc3",
            "OTP-25.0-rc2",
            "OTP-25.0-rc1",
            "OTP-22.0",
            "OTP-24.0-rc3",
            "OTP-24.0-rc2",
            "OTP-24.0-rc1",
            "OTP-23.0-rc3",
            "OTP-23.0-rc2",
            "OTP-23.0-rc1",
            "OTP-20.0",
            "OTP-22.0-rc3",
            "OTP-22.0-rc2",
            "OTP-22.0-rc1",
            "OTP-19.0",
            "OTP-21.0-rc2",
            "OTP-18.0",
            "OTP-21.0-rc1",
            "OTP-17.0",
            "OTP-20.0-rc2",
            "OTP-20.0-rc1",
            "OTP-19.0-rc2",
            "OTP-19.0-rc1",
            "OTP_R16B",
            "OTP-18.0-rc1",
            "OTP_17.0-rc2",
            "OTP_17.0-rc1",
            "OTP_R13B03",
            "OTP_R16A_RELEASE_CANDIDATE",
            "OTP_R14B03",
            "OTP_R15B",
            "OTP_R15A",
            "OTP_R14B02",
            "OTP_R14B01",
            "OTP_R14B",
            "OTP_R13B04",
            "OTP_R14A"
          ],
          "database_specific": {
            "source": "https://cna.erlef.org/osv/EEF-CVE-2026-48856.json"
          }
        }
      ],
      "modified": "2026-10-15T11:00:02.839936990Z",
      "provider": "osv",
      "references": [
        "https://github.com/erlang/otp/security/advisories/GHSA-m75x-4vwg-ggjh",
        "https://cna.erlef.org/cves/CVE-2026-48856.html",
        "https://www.erlang.org/doc/system/versions.html#order-of-versions",
        "https://github.com/erlang/otp/commit/f78fae9294886f95545a2212671282eda230def1"
      ],
      "provider_metadata": {
        "cpe_ids": [
          "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
        ],
        "cwe_ids": [
          "CWE-601"
        ],
        "capec_ids": [
          "CAPEC-37"
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-48856",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 331297,
  "published_at": "2026-06-10T14:41:51.616+00:00"
}