CVE-2026-8368

LWP::UserAgent versions before 6.83 for Perl leak Authorization and Proxy-Authorization headers on cross-origin redirects

Published May 12, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
LWP::UserAgent versions before 6.83 for Perl leak Authorization and Proxy-Authorization headers on cross-origin redirects.

On a 3xx response, the redirect handler strips only Host and Cookie before issuing the follow-up request. Caller-supplied Authorization and Proxy-Authorization headers are sent unchanged to the redirect target, including across scheme, host, or port changes.

A redirect to an attacker controlled host therefore discloses the caller's credentials to that host.

Analysis

AI-generated

Technical impact

LWP::UserAgent versions before 6.83 forward Authorization and Proxy-Authorization headers unchanged during 3xx redirects. When a redirect targets a host under attacker control, the caller’s credentials are sent to that host, exposing sensitive authentication information. The weaknesses are categorized as CWE‑201 and CWE‑522.

Affected Systems

The flaw exists in all OALDERS LWP::UserAgent releases prior to 6.83. Users of libwww-perl older than 6.83 are affected. Upgrading to 6.83 or later removes the vulnerability.

Risk and Exploitability

Exploitation requires an application that uses LWP::UserAgent to request a URL that the attacker can influence, resulting in a redirect to an attacker‑controlled domain. The CVSS score of 6.5 indicates moderate severity, and the EPSS score of < 1% reflects a low probability of exploitation, but the potential for credential disclosure remains significant, warranting immediate action.

Remediation

Vendor Solution

Upgrade to libwww-perl 6.83 or later.


OpenCVE Recommended Actions

  • Upgrade the libwww-perl package to version 6.83 or newer to eliminate the header leakage.
  • Configure the application to reject or limit redirects to external or untrusted hosts, or disable automatic redirect following if possible.
  • If upgrading is not immediately possible, modify the LWP::UserAgent code to strip Authorization and Proxy-Authorization headers before executing any redirect.

Generated by OpenCVE AI on May 25, 2026 at 13:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8378-1 libwww-perl vulnerability
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Oalders
Oalders lwp::useragent
Vendors & Products Oalders
Oalders lwp::useragent
Type Values Removed Values Added
Description LWP::UserAgent versions before 6.83 for Perl leak Authorization and Proxy-Authorization headers on cross-origin redirects. On a 3xx response, the redirect handler strips only Host and Cookie before issuing the follow-up request. Caller-supplied Authorization and Proxy-Authorization headers are sent unchanged to the redirect target, including across scheme, host, or port changes. A redirect to an attacker controlled host therefore discloses the caller's credentials to that host.
Title LWP::UserAgent versions before 6.83 for Perl leak Authorization and Proxy-Authorization headers on cross-origin redirects
Weaknesses CWE-522
References
Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data

  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
May 19, 2026, 5:16 PM
Reserved
May 11, 2026, 9:33 PM
Status
Deferred
Published
May 12, 2026, 3:16 PM
Modified
Oct 26, 2026, 6:10 PM
Severity
Moderate
Public date
May 12, 2026, 2:01 PM