1. Accueil
  2. Vulnérabilités
  3. CVE-2026-48856

CVE-2026-48856

httpc leaks Authorization header to cross-origin redirect targets

Publiée le 10 juin 2026 · modifiée le 20 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 36/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Erlang (9 ligne(s))
Erlang
ProduitVersionsCorrigé dansSource
OTP de 17.0 (inclus) à 27.3.4.19 (exclu) 27.3.4.19 CNA (éditeur ou attributeur)
OTP de 5.10 (inclus) à 9.3.2.8 (exclu) 9.3.2.8 CNA (éditeur ou attributeur)
OTP Versions non précisées — CNA (éditeur ou attributeur)
Erlang/inets de 5.10 (inclus) à 9.3.2.6 (exclu) — NVD
Erlang/inets de 9.6 (inclus) à 9.6.2.2 (exclu) — NVD
Erlang/inets de 9.7 (inclus) à 9.7.1 (exclu) — NVD
Erlang/otp de 17.0 (inclus) à 27.3.4.13 (exclu) — NVD
Erlang/otp de 28.0 (inclus) à 28.5.0.2 (exclu) — NVD
Erlang/otp de 29.0 (inclus) à 29.0.2 (exclu) — NVD

Correctif

Mise à jour — 9.3.2.8, 27.3.4.19source officielle

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

* Set {autoredirect, false} in the httpc:request/4 options and handle redirects manually, stripping the Authorization header when the redirect crosses an origin boundary. * Ensure that httpc is only used to contact trusted servers that will not issue cross-origin redirects.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-601 · Autre (CWE-601)

Comment sont obtenues et calculées ces données