{"id":"CVE-2026-7017","state":"PUBLISHED","title":"HTTP::Tiny versions before 0.095 for Perl forward credential headers to cross-origin redirect targets","description":"HTTP::Tiny versions before 0.095 for Perl forward credential headers to cross-origin redirect targets.\n\nWhen 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.\n\nThe 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.","publishedAt":"2026-07-07T17:41:48.989Z","updatedAt":"2026-07-07T20:35:36.874Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["HAARG HTTP::Tiny"],"affected":[{"vendor":"HAARG","product":"HTTP::Tiny","packageName":"HTTP-Tiny","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.095","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/HTTP/Tiny.pm"],"programRoutines":[{"name":"_maybe_redirect"},{"name":"_prepare_headers_and_cb"}],"repo":"https://github.com/Perl-Toolchain-Gang/HTTP-Tiny"}],"references":["https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/pull/36","https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/84984ef3930ddd4afcf5eb83b40d3cee200739c3.patch","https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/e7a03aedf2395158f2b0d3bad2df943349227bb3.patch","https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/8f32ca89e21c3ad0422adc698fa6ad17a193f55f.patch","https://metacpan.org/release/HAARG/HTTP-Tiny-0.095-TRIAL/changes","http://www.openwall.com/lists/oss-security/2026/07/07/13"],"weaknesses":["CWE-522"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/7xxx/CVE-2026-7017.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-7017","state":"PUBLISHED","datePublished":"2026-07-07T17:41:48.989Z","dateUpdated":"2026-07-07T20:35:36.874Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-04-25T10:30:05.190Z"},"containers":{"cna":{"title":"HTTP::Tiny versions before 0.095 for Perl forward credential headers to cross-origin redirect targets","descriptions":[{"lang":"en","value":"HTTP::Tiny versions before 0.095 for Perl forward credential headers to cross-origin redirect targets.\n\nWhen 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.\n\nThe 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":[{"vendor":"HAARG","product":"HTTP::Tiny","packageName":"HTTP-Tiny","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.095","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/HTTP/Tiny.pm"],"programRoutines":[{"name":"_maybe_redirect"},{"name":"_prepare_headers_and_cb"}],"repo":"https://github.com/Perl-Toolchain-Gang/HTTP-Tiny"}],"references":[{"url":"https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/pull/36","tags":["issue-tracking"]},{"url":"https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/84984ef3930ddd4afcf5eb83b40d3cee200739c3.patch","tags":["patch"]},{"url":"https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/e7a03aedf2395158f2b0d3bad2df943349227bb3.patch","tags":["patch"]},{"url":"https://github.com/Perl-Toolchain-Gang/HTTP-Tiny/commit/8f32ca89e21c3ad0422adc698fa6ad17a193f55f.patch","tags":["patch"]},{"url":"https://metacpan.org/release/HAARG/HTTP-Tiny-0.095-TRIAL/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-522","description":"CWE-522 Insufficiently Protected Credentials","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-07T17:41:48.989Z"},"solutions":[{"lang":"en","value":"Upgrade to HTTP-Tiny 0.095-TRIAL or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-04-25T00:00:00.000Z","value":"Issue discovered."},{"lang":"en","time":"2026-06-03T00:00:00.000Z","value":"Version 0.095-TRIAL released with fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-07T18:31:23.699590Z","id":"CVE-2026-7017","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-07T18:31:42.536Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/07/13"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-07T20:35:36.874Z"}}]}}}