Skip to main content

Erlang/OTP inets CVE-2026-48856

| EUVDEUVD-2026-36058 HIGH
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-06-10 EEF
7.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker hosts redirect server
  2. Delivery
    Victim httpc fetches attacker URL with auth
  3. Exploit
    Server returns cross-origin 3xx redirect
  4. Execution
    httpc_response:redirect/2 copies Authorization header verbatim
  5. Persist
    Attacker's second host logs Basic credential
  6. Impact
    Attacker replays credential against legitimate service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the victim application to (1) use Erlang/OTP inets httpc to make an outbound HTTP request, (2) leave autoredirect at its default value of true, (3) include an Authorization or Proxy-Authorization header on that request - either set explicitly or derived from URL userinfo by httpc_request:handle_user_info/2, and (4) contact a server the attacker controls or can influence (e.g., user-supplied URL, compromised upstream, DNS rebinding, or webhook target). The CVSS UI:P (Passive user interaction) reflects that the victim system must initiate the request; the attacker cannot trigger it unsolicited. Exploitation is limited to credentials carried on the redirected request - there is no code execution, and applications that pass {autoredirect, false} or never attach auth headers to httpc calls are not exploitable.

Impact

CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N gives 7.1 - network-reachable, low complexity, no privileges, but Passive user interaction required (the victim application must initiate the httpc request). Confidentiality impact is High (credentials), with no integrity or availability impact, which matches the credential-theft nature precisely. EPSS and CISA KEV status are not provided in the input, and no public exploit identified at time of analysis, so this is not currently flagged as actively exploited. Real-world risk is meaningful but bounded: it requires the victim's Erlang/Elixir application to make an httpc call to an attacker-influenced URL while sending auth, which is plausible for SSRF-adjacent flows, webhook callbacks, federation/proxy scenarios, and any system that fetches user-supplied URLs with stored credentials. Because autoredirect defaults to true and the bug has existed since inets 5.10 (OTP 17.0, released 2014), the install base is enormous - prioritize patching exposed services that proxy or fetch external URLs.

Exploit ScenarioDerived

An attacker registers a webhook, OAuth callback, or any user-supplied URL on a victim Erlang/Elixir service that fetches external resources via httpc with HTTP Basic credentials (often inherited from configured API integrations or URL userinfo). When the service issues the httpc GET, the attacker's server responds with a 301/302 redirect to a second host the attacker controls; httpc transparently follows the redirect and replays the Authorization (and Proxy-Authorization) header to the attacker's collection endpoint. The attacker logs the Basic credential, decodes it, and reuses it against the legitimate upstream service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Credential leakage in Erlang/OTP's inets httpc client (versions 17.0 through 29.0.2, 28.5.0.2, and 27.3.4.13) allows attacker-controlled servers to harvest Authorization and Proxy-Authorization headers by issuing cross-origin 3xx redirects. Because httpc_response:redirect/2 only updates the host field and copies all other headers verbatim - and autoredirect defaults to true - any httpc caller using HTTP Basic auth or URL userinfo silently forwards credentials to the redirect target. No public exploit identified at time of analysis, but the fix has been published upstream and tagged in vendor-released OTP patch versions.

RemediationAI

Vendor-released patch: upgrade to OTP 29.0.2, 28.5.0.2, or 27.3.4.13 (or equivalently inets 9.7.1, 9.6.2.2, or 9.3.2.6) per the GHSA-m75x-4vwg-ggjh advisory and commit 688d748d6f7a6a06b13b662a1d3de8af97079612. If immediate upgrade is not feasible, explicitly disable automatic redirect following by passing {autoredirect, false} in httpc:request/4-5 HTTPOptions and handle 3xx responses manually in application code - note this changes behavior for any code that relied on transparent redirect following and may require updates to downstream call sites. As an additional compensating control, avoid embedding credentials in URLs (the userinfo form) and avoid sending Authorization headers to URLs sourced from untrusted input; where feasible, route external fetches through an egress proxy that strips Authorization headers on redirects. The Erlang version ordering reference at https://www.erlang.org/doc/system/versions.html#order-of-versions can help confirm whether a deployed build is on or past the fix line.

Affected VersionsENISA

otp 84adefa331c4159d432d22840663c38f155cd4c1 <688d748d6f7a6a06b13b662a1d3de8af97079612
otp 17.0 <*
otp 5.10 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable code lives in lib/inets/src/http_client/httpc_response.erl within the OTP inets application, which provides the httpc HTTP client used widely across Erlang and Elixir ecosystems (via :httpc and libraries like hackney's fallbacks, rebar3, and OTP's own update mechanisms). The root cause is CWE-601 (URL Redirection to Untrusted Site / Open Redirect) compounded with sensitive data exposure: when handling a 3xx response, the redirect/2 function builds a new request record by mutating only the host field, leaving authorization, proxy_authorization, cookie, referer, and origin headers intact regardless of whether the new target is on a different origin. RFC 9110 §15.4 explicitly requires stripping these headers on cross-origin redirects, and the patched code now compares Request#request.address against the redirect target and clears the sensitive fields when host or port differ. Credentials passed via URL userinfo (http://user:pass@host) are particularly exposed because httpc_request:handle_user_info/2 transparently converts them into a Basic Authorization header that the caller may not realize is being forwarded.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 7.1 HIGH
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
SUSE 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 10, 2026 - 16:22 NVD
7.1 (HIGH)

DescriptionCVE.org

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 17.0 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to inets from 5.10 before 9.7.1, 9.6.2.2 and 9.3.2.6.

Executive ViewAI

Why It Matters

Erlang/OTP's HTTP client contains a credential leakage vulnerability (CVE-2026-48856) that silently forwards authentication credentials to attacker-controlled servers through HTTP redirects, potentially exposing backend systems and data to unauthorized access. This affects any organization running vulnerable versions (17.0 through 29.0.2, 28.5.0.2, and 27.3.4.13) that use HTTP Basic authentication for client communications. A vendor patch is available and should be deployed immediately to prevent credential harvesting attacks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-89422 CRITICAL
9.3 Sep 22

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy