CVE-2026-63481: Hurl: Cookies in Cookies section leak when redirecting to a different host
The Bug Hurl <= 8.0.1 lets you define cookies two ways in a .hurl file: 1. As a raw Cookie: header in the [Header]/headers area 2. In a dedicated [Cookies] section (parsed into RequestSpec.cookies) When 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…
Published Sep 2, 2026
Affected packages
hurl
- Ecosystem
- Rust (crates.io)
- Affected
- <= 8.0.1
- Fixed in
- No patched version yet
- Check
cargo tree -i hurl
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The Bug
Hurl <= 8.0.1 lets you define cookies two ways in a .hurl file:
- As a raw Cookie: header in the [Header]/headers area
- In a dedicated [Cookies] section (parsed into RequestSpec.cookies)
When 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.
Hurl file that leaks cookies:
GET http://localhost:8000/follow-redirect-basic-auth?change_host=true
[Cookies]
fruit: lemon
HTTP 200Hurl file that doesn't leak cookie:
GET http://localhost:8000/follow-redirect-basic-auth?change_host=true
Cookie: fruit=lemon
HTTP 200Patch
With Hurl <= 8.0.1, user can use Cookie header instead of the dedicated [Cookies] section.
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/advisories/GHSA-7w2g-9mf9-324m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
