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: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Insecure cookie handling leading to possible session hijack
Action: Patch Immediately
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 of 7.5 indicates a high severity impact. The EPSS score of < 1% suggests a low probability of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. An attacker capable of influencing or observing traffic to a host that sends the malformed Set‑Cookie header could cause the client to drop the Secure flag, leading to the cookie being transmitted over plaintext HTTP on subsequent requests. This could allow session hijack or exfiltration of sensitive data.

Generated by OpenCVE AI on September 10, 2026 at 05:28 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 10, 2026 at 05:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8820-1 curl vulnerabilities
History

Tue, 22 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Haxx
Haxx curl
CPEs cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
Vendors & Products Haxx
Haxx curl

Thu, 10 Sep 2026 04:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1024

Tue, 08 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-201
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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-15T06:03:13.400Z

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

Link: CVE-2026-80255

cve-icon Vulnrichment

Updated: 2026-09-08T18:45:43.369Z

cve-icon NVD

Status : Modified

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

Modified: 2026-09-15T07:16:30.770

Link: CVE-2026-80255

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-06T17:48:54Z

Links: CVE-2026-80255 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T05:30:16Z

Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data