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.
Published: 2026-05-12
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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

No advisories yet.

History

Mon, 25 May 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-201
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 19 May 2026 18:15:00 +0000

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'}


Wed, 13 May 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 13 May 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Oalders
Oalders lwp::useragent
Vendors & Products Oalders
Oalders lwp::useragent

Tue, 12 May 2026 18:30:00 +0000

Type Values Removed Values Added
References

Tue, 12 May 2026 15:00:00 +0000

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

Subscriptions

Oalders Lwp::useragent
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-05-19T17:16:03.676Z

Reserved: 2026-05-11T21:33:14.480Z

Link: CVE-2026-8368

cve-icon Vulnrichment

Updated: 2026-05-12T17:41:03.656Z

cve-icon NVD

Status : Deferred

Published: 2026-05-12T15:16:19.690

Modified: 2026-05-19T18:16:30.983

Link: CVE-2026-8368

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-12T14:01:25Z

Links: CVE-2026-8368 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-25T13:30:26Z

Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data

  • CWE-522

    Insufficiently Protected Credentials