Description
Hurl is a command line tool that runs and tests HTTP requests defined in plain text files. In version 8.0.1 and earlier, the redirect handling in packages/hurl/src/http/client.rs strips Authorization and Cookie headers and basic-auth credentials when a redirect changes host, but it carries RequestSpec.cookies created from the dedicated [Cookies] section into the redirected request. An attacker-controlled redirect can therefore receive authentication or session cookies that should remain scoped to the original host. Cookies supplied through a raw Cookie header are stripped and are not affected by this specific path. This issue is reported as fixed in version 8.1.0.
Published: 2026-08-20
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in hurl’s redirect handling causes cookies defined in a [Cookies] section to be forwarded to an attacker‑controlled host when a redirect changes the target host. Authorization and raw Cookie headers are correctly stripped, but the dedicated cookie set is inadvertently carried over. This allows an attacker to obtain authentication or session tokens that would normally be scoped to the original domain, enabling unauthorized access or session hijacking. The weakness is a classic example of variable or session‑handling error (CWE‑201).

Affected Systems

Orange‑OpenSource hurl, a command‑line HTTP testing tool. Versions 8.0.1 and earlier perform redirects by stripping standard Authorization and Cookie headers while still propagating the [Cookies] section, leading to the described leak. The issue was fixed in version 8.1.0, so any installation of hurl 8.0.1 or earlier is affected.

Risk and Exploitability

The CVSS score of 6.9 classifies the vulnerability as moderate. EPSS is currently unavailable, and the weakness is not listed in CISA’s KEV catalog, indicating no known widespread exploitation yet. Based on the description, the likely attack path involves the attacker causing hurl to follow a redirect to a host under their control. When the redirect occurs, the cookie copy is transmitted, giving the attacker valuable credentials. The vulnerability can be exploited by any user who runs hurl against a target that triggers such a redirect, making it a practical concern for developers using automated HTTP tests.

Generated by OpenCVE AI on August 20, 2026 at 20:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to hurl version 8.1.0 or newer to apply the vendor’s bug fix.
  • If an upgrade is not immediately feasible, avoid using the [Cookies] section for cookies that must remain scoped to the original host; use raw Cookie headers instead, which are stripped on redirects.
  • Alternatively, configure hurl to disable automatic redirects or restrict redirects to the same host when possible to prevent the cookie leakage path.

Generated by OpenCVE AI on August 20, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description Hurl is a command line tool that runs and tests HTTP requests defined in plain text files. In version 8.0.1 and earlier, the redirect handling in packages/hurl/src/http/client.rs strips Authorization and Cookie headers and basic-auth credentials when a redirect changes host, but it carries RequestSpec.cookies created from the dedicated [Cookies] section into the redirected request. An attacker-controlled redirect can therefore receive authentication or session cookies that should remain scoped to the original host. Cookies supplied through a raw Cookie header are stripped and are not affected by this specific path. This issue is reported as fixed in version 8.1.0.
Title Hurl: Cookies in Cookies section leak when redirecting to a different host
Weaknesses CWE-201
References
Metrics cvssV4_0

{'score': 6.9, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T16:28:24.282Z

Reserved: 2026-07-16T21:37:45.769Z

Link: CVE-2026-63481

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-20T17:19:15.037

Modified: 2026-08-20T17:19:15.037

Link: CVE-2026-63481

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T20:15:04Z

Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data