{"id":"GHSA-7w2g-9mf9-324m","revision":"29b183238c144b4ea35a660491bd7ba7","records":[{"revision":"29b183238c144b4ea35a660491bd7ba7","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-7w2g-9mf9-324m","aliases":["CVE-2026-63481"],"title":"Hurl: Cookies in Cookies section leak when redirecting to a different host","description":"## The Bug\n\nHurl <= 8.0.1 lets you define cookies two ways in a .hurl file:\n\n1. As a raw Cookie: header in the [Header]/headers area\n2. In a dedicated [Cookies] section (parsed into RequestSpec.cookies)\n\nWhen following a redirect to a different host, Hurl correctly strips security-sensitive data (Authorization, Cookie header, and basic-auth user) to avoid leaking credentials cross-host — mirroring libcurl's default behavior. But it only stripped the cookie that came in as a header. Cookies declared in the [Cookies] section were carried over to the new host unchanged — a credential-leak bug. \n\nHurl file that leaks cookies:\n\n```hurl\nGET http://localhost:8000/follow-redirect-basic-auth?change_host=true\n[Cookies]\nfruit: lemon\nHTTP 200\n```\n\nHurl file that doesn't leak cookie:\n\n```hurl\nGET http://localhost:8000/follow-redirect-basic-auth?change_host=true\nCookie: fruit=lemon\nHTTP 200\n```\n\n## Patch\n\nWith Hurl <= 8.0.1, user can use `Cookie` header instead of the dedicated `[Cookies]` section.","state":0,"publishedAt":"2026-09-02T22:11:11+00:00","modifiedAt":"2026-09-02T22:15:05.1739026+00:00","affected":[{"ecosystem":"crates.io","name":"hurl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"8.0.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/Orange-OpenSource/hurl/security/advisories/GHSA-7w2g-9mf9-324m","https://nvd.nist.gov/vuln/detail/CVE-2026-63481","https://github.com/Orange-OpenSource/hurl/pull/5119","https://github.com/Orange-OpenSource/hurl/commit/ed91c894c2cf11704422010554037e3ba70b446e","https://github.com/Orange-OpenSource/hurl"],"sourceUrl":"https://github.com/advisories/GHSA-7w2g-9mf9-324m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7w2g-9mf9-324m","identifiers":["GHSA-7w2g-9mf9-324m","CVE-2026-63481"]},"retained":false,"historicalAffected":[]}],"coverage":[]}