CVE-2026-80255

secure cookie attribute bypass with tab

Published Sep 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Haxx
Haxx curl
CPEs cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
Vendors & Products Haxx
Haxx curl
Type Values Removed Values Added
Weaknesses CWE-1024
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'}

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Weaknesses CWE-1024
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
Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Sep 15, 2026, 6:03 AM
Reserved
Aug 26, 2026, 6:25 AM
Status
Modified
Published
Sep 6, 2026, 6:17 PM
Modified
Sep 15, 2026, 7:16 AM
Severity
Low
Public date
Sep 6, 2026, 5:48 PM