Description
A `Set-Cookie:` header using tab (horizontal tab, ASCII code 9) instead of
space (ascii code 32) immediately before the `Secure` attribute causes curl to
store the cookie without its Secure flag. The cookie might then wrongfully be
sent over plaintext HTTP on subsequent requests to the same host.
Published: 2026-09-06
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A Set-Cookie header that uses a tab instead of a space before the Secure attribute causes curl to drop the Secure flag when storing the cookie. As a result, a cookie that should be transmitted only over HTTPS may be sent over plaintext HTTP on subsequent requests, exposing session tokens and other sensitive data to potential eavesdroppers.

Affected Systems

Vendors affected: curl, product: curl. No specific version information is available from the CNA; all versions of curl that use the default cookie handling are potentially impacted.

Risk and Exploitability

The CVSS score is not provided and EPSS is unavailable, so the quantitative severity is unknown. The vulnerability is not yet listed in CISA’s KEV catalog. Inference points to a local or network attacker capable of seeing or influencing traffic to a host that responds with the malformed Set-Cookie header. Once the client stores the cookie without the Secure flag, the attacker could capture subsequent HTTP traffic to the same host and potentially hijack the session or exfiltrate sensitive data.

Generated by OpenCVE AI on September 6, 2026 at 19:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update curl to the latest version that includes the fix for this bug.
  • If updating curl is not possible, disable automatic cookie storage or remove the –cookie/-b option so that the client does not store insecure cookies.
  • Ensure that all servers serving cookies for curl use a space before the Secure attribute and that the Secure flag is always present for HTTP‑only or session cookies.
  • Prefer HTTPS for all traffic and consider using additional cookie flags such as HttpOnly and SameSite to reduce exposure.

Generated by OpenCVE AI on September 6, 2026 at 19:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Sun, 06 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1024

Sun, 06 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Description A `Set-Cookie:` header using tab (horizontal tab, ASCII code 9) instead of space (ascii code 32) immediately before the `Secure` attribute causes curl to store the cookie without its Secure flag. The cookie might then wrongfully be sent over plaintext HTTP on subsequent requests to the same host.
Title secure cookie attribute bypass with tab
References

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-09-06T17:48:54.275Z

Reserved: 2026-08-26T06:25:58.220Z

Link: CVE-2026-80255

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T18:17:22.623

Modified: 2026-09-06T18:17:22.623

Link: CVE-2026-80255

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T20:00:05Z

Weaknesses
  • CWE-1024

    Comparison of Incompatible Types