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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl | 5.42.3-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl | No fix yet | — |
Advisories 6
- SSA-457936 SSA-457936: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7 Siemens ProductCERT · Nov 10, 2026
- ALAS2-2026-3986 Moderate: perl-HTTP-Tiny security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- ALAS2023-2026-3194 Moderate: perl-HTTP-Tiny security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- USN-8684-1 perl vulnerabilities Ubuntu Security Notices (USN) · Aug 31, 2026
- openSUSE-SU-2026:21529-1 Security update for perl-HTTP-Tiny SUSE / openSUSE Security Updates · Aug 5, 2026
- openSUSE-SU-2026:11219-1 perl-HTTP-Tiny-0.096-2.1 on GA media SUSE / openSUSE Security Updates · Jul 9, 2026
References
- https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/pull/36 issue-tracking
- https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/84984ef3930ddd4afcf5eb83b40d3cee200739c3.patch patch
- https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/e7a03aedf2395158f2b0d3bad2df943349227bb3.patch patch
- https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/8f32ca89e21c3ad0422adc698fa6ad17a193f55f.patch patch
- https://metacpan.org/release/HAARG/HTTP-Tiny-0.095-TRIAL/changes release-notes