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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to libwww-perl 6.83 or later.


Workaround

No workaround given by the vendor.

History

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-05-12T14:01:25.365Z

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

Link: CVE-2026-8368

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-8368

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses