{"id":"UBUNTU-CVE-2026-7017","details":"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.","modified":"2026-09-09T19:45:04.427589720Z","published":"2026-07-07T19:16:00Z","related":["USN-8684-1"],"upstream":["CVE-2026-7017"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-7017"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-7017"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/41618211/"},{"type":"REPORT","url":"https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/pull/36"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8684-1"}],"affected":[{"package":{"name":"perl","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.14.2-21build1","5.18.1-4","5.18.1-4build1","5.18.1-5","5.18.2-2","5.18.2-2ubuntu1","5.18.2-2ubuntu1.1","5.18.2-2ubuntu1.3","5.18.2-2ubuntu1.4","5.18.2-2ubuntu1.6","5.18.2-2ubuntu1.7","5.18.2-2ubuntu1.7+esm3","5.18.2-2ubuntu1.7+esm4","5.18.2-2ubuntu1.7+esm5","5.18.2-2ubuntu1.7+esm7","5.18.2-2ubuntu1.7+esm8","5.18.2-2ubuntu1.7+esm9"],"ecosystem_specific":{"binaries":[{"binary_version":"5.18.2-2ubuntu1.7+esm9","binary_name":"libcgi-fast-perl"},{"binary_name":"libperl5.18","binary_version":"5.18.2-2ubuntu1.7+esm9"},{"binary_version":"5.18.2-2ubuntu1.7+esm9","binary_name":"perl"},{"binary_name":"perl-base","binary_version":"5.18.2-2ubuntu1.7+esm9"},{"binary_version":"5.18.2-2ubuntu1.7+esm9","binary_name":"perl-debug"},{"binary_name":"perl-modules","binary_version":"5.18.2-2ubuntu1.7+esm9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.20.2-6","5.22.1-3","5.22.1-4","5.22.1-5","5.22.1-7","5.22.1-8","5.22.1-9","5.22.1-9ubuntu0.2","5.22.1-9ubuntu0.3","5.22.1-9ubuntu0.5","5.22.1-9ubuntu0.6","5.22.1-9ubuntu0.9","5.22.1-9ubuntu0.9+esm1","5.22.1-9ubuntu0.9+esm2","5.22.1-9ubuntu0.9+esm3","5.22.1-9ubuntu0.9+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl5.22","binary_version":"5.22.1-9ubuntu0.9+esm4"},{"binary_version":"5.22.1-9ubuntu0.9+esm4","binary_name":"perl"},{"binary_version":"5.22.1-9ubuntu0.9+esm4","binary_name":"perl-base"},{"binary_name":"perl-debug","binary_version":"5.22.1-9ubuntu0.9+esm4"},{"binary_name":"perl-modules-5.22","binary_version":"5.22.1-9ubuntu0.9+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"libhttp-tiny-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libhttp-tiny-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.056-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.056-1","binary_name":"libhttp-tiny-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.26.0-8ubuntu1","5.26.1-2ubuntu1","5.26.1-3","5.26.1-4","5.26.1-4build1","5.26.1-5","5.26.1-6","5.26.1-6ubuntu0.1","5.26.1-6ubuntu0.2","5.26.1-6ubuntu0.3","5.26.1-6ubuntu0.5","5.26.1-6ubuntu0.6","5.26.1-6ubuntu0.7","5.26.1-6ubuntu0.7+esm2","5.26.1-6ubuntu0.7+esm3","5.26.1-6ubuntu0.7+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl5.26","binary_version":"5.26.1-6ubuntu0.7+esm4"},{"binary_name":"perl","binary_version":"5.26.1-6ubuntu0.7+esm4"},{"binary_name":"perl-base","binary_version":"5.26.1-6ubuntu0.7+esm4"},{"binary_name":"perl-debug","binary_version":"5.26.1-6ubuntu0.7+esm4"},{"binary_version":"5.26.1-6ubuntu0.7+esm4","binary_name":"perl-modules-5.26"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"libhttp-tiny-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libhttp-tiny-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.070-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-tiny-perl","binary_version":"0.070-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.28.1-6build1","5.30.0-7","5.30.0-9","5.30.0-9build1","5.30.0-9ubuntu0.2","5.30.0-9ubuntu0.3","5.30.0-9ubuntu0.4","5.30.0-9ubuntu0.5","5.30.0-9ubuntu0.5+esm2","5.30.0-9ubuntu0.5+esm3","5.30.0-9ubuntu0.5+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl5.30","binary_version":"5.30.0-9ubuntu0.5+esm4"},{"binary_name":"perl","binary_version":"5.30.0-9ubuntu0.5+esm4"},{"binary_name":"perl-base","binary_version":"5.30.0-9ubuntu0.5+esm4"},{"binary_name":"perl-debug","binary_version":"5.30.0-9ubuntu0.5+esm4"},{"binary_name":"perl-modules-5.30","binary_version":"5.30.0-9ubuntu0.5+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"libhttp-tiny-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libhttp-tiny-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.076-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.076-1","binary_name":"libhttp-tiny-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"libhttp-tiny-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libhttp-tiny-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.076-1","0.080-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-tiny-perl","binary_version":"0.080-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.32.1-3ubuntu3","5.34.0-3ubuntu1","5.34.0-3ubuntu1.1","5.34.0-3ubuntu1.2","5.34.0-3ubuntu1.3","5.34.0-3ubuntu1.4","5.34.0-3ubuntu1.5","5.34.0-3ubuntu1.7","5.34.0-3ubuntu1.8","5.34.0-3ubuntu1.9"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl5.34","binary_version":"5.34.0-3ubuntu1.9"},{"binary_name":"perl","binary_version":"5.34.0-3ubuntu1.9"},{"binary_version":"5.34.0-3ubuntu1.9","binary_name":"perl-base"},{"binary_name":"perl-debug","binary_version":"5.34.0-3ubuntu1.9"},{"binary_name":"perl-modules-5.34","binary_version":"5.34.0-3ubuntu1.9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"libhttp-tiny-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libhttp-tiny-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.082-2","0.088-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-tiny-perl","binary_version":"0.088-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.38.2-3.2ubuntu0.4"}]}],"versions":["5.36.0-9ubuntu1","5.36.0-10ubuntu1","5.38.2-3","5.38.2-3.2","5.38.2-3.2build1","5.38.2-3.2build2","5.38.2-3.2build2.1","5.38.2-3.2ubuntu0.1","5.38.2-3.2ubuntu0.2","5.38.2-3.2ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl5.38t64","binary_version":"5.38.2-3.2ubuntu0.4"},{"binary_name":"perl","binary_version":"5.38.2-3.2ubuntu0.4"},{"binary_name":"perl-base","binary_version":"5.38.2-3.2ubuntu0.4"},{"binary_name":"perl-debug","binary_version":"5.38.2-3.2ubuntu0.4"},{"binary_name":"perl-modules-5.38","binary_version":"5.38.2-3.2ubuntu0.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"libhttp-tiny-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libhttp-tiny-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.090-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.090-1","binary_name":"libhttp-tiny-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.40.1-2","5.40.1-3","5.40.1-5","5.40.1-6","5.40.1-6build1","5.40.1-6ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl5.40","binary_version":"5.40.1-6ubuntu0.1"},{"binary_name":"perl","binary_version":"5.40.1-6ubuntu0.1"},{"binary_name":"perl-base","binary_version":"5.40.1-6ubuntu0.1"},{"binary_version":"5.40.1-6ubuntu0.1","binary_name":"perl-debug"},{"binary_version":"5.40.1-6ubuntu0.1","binary_name":"perl-modules-5.40"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"libhttp-tiny-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libhttp-tiny-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.090-1","0.092-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-tiny-perl","binary_version":"0.092-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.40.1-6build1","5.40.1-7build1","5.40.1-7ubuntu0.1","5.40.1-7ubuntu0.2","5.40.1-7ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libperl5.40","binary_version":"5.40.1-7ubuntu0.3"},{"binary_version":"5.40.1-7ubuntu0.3","binary_name":"perl"},{"binary_version":"5.40.1-7ubuntu0.3","binary_name":"perl-base"},{"binary_version":"5.40.1-7ubuntu0.3","binary_name":"perl-debug"},{"binary_version":"5.40.1-7ubuntu0.3","binary_name":"perl-modules-5.40"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7017.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}