Erlang\/inetsApplication · Erlang

CVE-2026-48856

MEDIUM · 6.5 CVSS v3.1 Published 2026-06-10
Fix available
A fix is available. Upgrade to 9.3.2.6 / 9.6.2.2 or later.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

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

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis
How this class of weakness works · CWE-601

The application redirects the browser to a URL taken from user input without validating it, so an attacker can craft a link on your trusted domain that quietly bounces victims to a malicious site. It is a staple of phishing and token theft. The fix is to allow-list redirect destinations or use indirect reference keys, never a raw user-supplied URL.

General guidance for the open redirect class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Erlang\/inetsApplication
Affected:>= 5.10, < 9.3.2.6>= 9.6, < 9.6.2.2>= 9.7, < 9.7.1
Erlang\/otpApplication
Affected:>= 17.0, < 27.3.4.13>= 28.0, < 28.5.0.2>= 29.0, < 29.0.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 9.3.2.6 / 9.6.2.2 / 9.7.1 or later
Fixed in 9.3.2.69.6.2.29.7.1
Vendor patch github.com →
Recommended fix High confidence

OTP 27.3.4.13+ (for 27.x), OTP 28.5.0.2+ (for 28.x), OTP 29.0.2+ (for 29.x); or inets 9.3.2.6+/9.6.2.2+/9.7.1+

  1. 1. Identify the current Erlang/OTP and inets version by running 'erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().'' -noshell' or checking your deployment manifests
  2. 2. For Erlang/OTP >= 17.0 to < 27.3.4.13: Upgrade to OTP 27.3.4.13 or later
  3. 3. For Erlang/OTP >= 28.0 to < 28.5.0.2: Upgrade to OTP 28.5.0.2 or later
  4. 4. For Erlang/OTP >= 29.0 to < 29.0.2: Upgrade to OTP 29.0.2 or later
  5. 5. Alternatively, if using inets as a standalone component: upgrade to inets 9.3.2.6, 9.6.2.2, or 9.7.1 or later
  6. 6. After upgrade, verify the fix is applied by testing that httpc no longer forwards Authorization headers on cross-origin redirects
  7. 7. Review any custom httpc usage to ensure autoredirect behavior aligns with security expectations
Caveat Minimal - this is a security fix; however, applications relying on the previous (vulnerable) redirect behavior may need review

Generated from the published advisory — verify against the referenced sources before acting.

We can perform the upgrade in your staging environment and verify nothing breaks — typical engagement from $900. Get the upgrade done

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-48856 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-48856 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data