{"id":"CVE-2026-63481","aliases":["GHSA-7w2g-9mf9-324m"],"url":"https://o3.security/vulnerability/CVE-2026-63481","summary":"Hurl: Cookies in Cookies section leak when redirecting to a different host","details":"## 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.","published":"2026-08-20T16:28:24.282Z","modified":"2026-10-21T02:58:57.258410078Z","cvss":null,"epss":{"score":0.00467,"percentile":0.39355,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"hurl","fixedVersion":null}],"fix":{"url":"https://github.com/Orange-OpenSource/hurl/commit/ed91c894c2cf11704422010554037e3ba70b446e","label":"Orange-OpenSource/hurl@ed91c89"},"references":[{"type":"WEB","url":"https://github.com/Orange-OpenSource/hurl/releases/tag/8.0.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63481.json"},{"type":"ADVISORY","url":"https://github.com/Orange-OpenSource/hurl/security/advisories/GHSA-7w2g-9mf9-324m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63481"},{"type":"FIX","url":"https://github.com/Orange-OpenSource/hurl/commit/ed91c894c2cf11704422010554037e3ba70b446e"},{"type":"FIX","url":"https://github.com/Orange-OpenSource/hurl/pull/5119"},{"type":"PACKAGE","url":"https://github.com/Orange-OpenSource/hurl"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:58:57.258410078Z"}}