Skip to content
OpenAdvisories
High · 7.1 CVE-2026-7017 EUVD-2026-42072GHSA-pgc4-5jjm-7rr7

HTTP::Tiny versions before 0.095 for Perl forward credential headers to cross-origin redirect targets

Published Jul 7, 2026 · Updated Nov 10, 2026 · Assigned by CPANSec

Description

HTTP::Tiny versions before 0.095 for Perl forward credential headers to cross-origin redirect targets.

When the server returns a 3xx redirect, `_maybe_redirect` follows the `Location:` header and `_prepare_headers_and_cb` re-merges the caller's `headers` argument into the new request, without checking whether the redirect target shares an origin with the original URL. Caller-supplied `Authorization`, `Cookie` and `Proxy-Authorization` headers are therefore re-sent to whatever host the redirect names, across scheme, host or port boundaries, and including `https` to `http` downgrades that expose them in plaintext on the wire.

The HTTP::Tiny POD note that "Authorization headers will not be included in a redirected request" applied only to the URL-userinfo Basic-auth path, not to headers passed explicitly by the caller.

Affected products

VendorProductAffectedFixed
HAARG HTTP::Tiny < 0.095 0.095

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libhttp-tiny-perl 0.096-1 —
Debian 14 perl 5.42.3-1 —
Debian 13 libhttp-tiny-perl 0.090-1+deb13u1 —
Debian 13 perl 5.40.1-6+deb13u1 —
Debian 12 libhttp-tiny-perl No fix yet —
Debian 12 perl 5.36.0-7+deb12u4 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 perl +1 No fix yet —
Ubuntu 26.04 LTS perl +1 No fix yet —
Ubuntu 25.10 perl +1 No fix yet —
Ubuntu 24.04 LTS libhttp-tiny-perl No fix yet —
Ubuntu 24.04 LTS perl 5.38.2-3.2ubuntu0.4 USN-8684-1
Ubuntu 22.04 LTS perl +1 No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libhttp-tiny-perl No fix yet —
Ubuntu 18.04 LTS libhttp-tiny-perl No fix yet —
Ubuntu 16.04 LTS libhttp-tiny-perl No fix yet —
Ubuntu Pro 20.04 LTS perl No fix yet —
Ubuntu Pro 18.04 LTS perl No fix yet —
Ubuntu Pro 16.04 LTS perl No fix yet —
Ubuntu Pro 14.04 LTS perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-HTTP-Tiny 0.096-2.1 openSUSE-SU-2026:11219-1
openSUSE Leap 16.0 perl-HTTP-Tiny 0.096-bp160.1.1 openSUSE-SU-2026:21529-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl 5.42.3-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-HTTP-Tiny +1 0.092-2.amzn2023.0.3 ALAS2023-2026-3194
Amazon Linux 2 perl-HTTP-Tiny 0.033-3.amzn2.0.3 ALAS2-2026-3986

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl No fix yet —

Advisories 6

References