LWP::UserAgent versions before 6.83 for Perl leak Authorization and Proxy-Authorization headers on cross-origin redirects
Summary
| CVE | CVE-2026-8368 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-12 15:16:19 UTC |
| Updated | 2026-05-12 18:17:33 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-522 | CWE-522 CWE-522 Insufficiently Protected Credentials
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | OALDERS | LWPUserAgent | affected 6.83 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/libwww-perl/libwww-perl/pull/284 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| github.com/libwww-perl/libwww-perl/pull/512 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| www.openwall.com/lists/oss-security/2026/05/12/7 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| metacpan.org/release/OALDERS/libwww-perl-6.83/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| github.com/libwww-perl/libwww-perl/commit/9c4aeb6f2dd32f2b7eaf2d7827cade... | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Kai Aizen (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-11T00:00:00.000Z | Issue reported. |
| CNA | 2026-05-12T00:00:00.000Z | libwww-perl 6.83 released with fix. |
Solutions
CNA: Upgrade to libwww-perl 6.83 or later.
There are currently no legacy QID mappings associated with this CVE.