CVE-2026-8368 PUBLISHED

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

Assigner: CPANSec
Reserved: 11.05.2026 Published: 12.05.2026 Updated: 12.05.2026

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.

Product Status

Vendor OALDERS
Product LWP::UserAgent
Versions Default: unaffected
  • affected from 0 to 6.83 (excl.)

Solutions

Upgrade to libwww-perl 6.83 or later.

Credits

  • Kai Aizen reporter

References

Problem Types

  • CWE-522 Insufficiently Protected Credentials CWE