GHSA-7w2g-9mf9-324m: Rust/hurl vulnerability

Published Sep 2, 2026
·
Updated

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 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:

hurl GET http://localhost:8000/follow-redirect-basic-auth?changehost=true [Cookies] fruit: lemon HTTP 200

Hurl file that doesn't leak cookie:

hurl GET http://localhost:8000/follow-redirect-basic-auth?changehost=true Cookie: fruit=lemon HTTP 200

Patch

With Hurl <= 8.0.1, user can use Cookie header instead of the dedicated [Cookies] section.

Affected Software

1 affected component
rust/hurl<=8.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade hurl to a version that resolves this vulnerability.

    Fixed in 8.0.1

Event History

Sep 2, 2026
Advisory Published
via GitHub·10:11 PM
Data Sourced
via GitHub·10:11 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this credential leak?

Users of Hurl 8.0.1 or earlier are exposed when a .hurl file uses the dedicated [Cookies] section and follows a redirect to a different host. The cookies defined in that section can be sent to the redirected host.

2

What must occur for exploitation?

A request must follow a cross-host redirect, and the Hurl file must define cookies through [Cookies]. Cookies supplied as a raw Cookie header are stripped during such redirects.

3

Is there a workaround if updating is not immediately possible?

Use a raw Cookie header in the headers area instead of the dedicated [Cookies] section. Hurl strips the Cookie header when redirecting to a different host.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203