CVE-2026-80255
PoC masscurl/libcookie parsing flaw drops 'Secure' flag on tab-adjacent Set-Cookie attribute
CVE-2026-80255 is a cookie-parsing flaw in curl and libcurl: when a server's Set-Cookie header places a horizontal tab (ASCII 9) instead of a space immediately before the 'Secure' attribute, curl stores the cookie without its Secure flag. The flaw is triggered whenever a server emits such a malformed header and the client uses curl's cookie engine on subsequent requests. As a result, a cookie meant to be restricted to HTTPS may be wrongfully sent over plaintext HTTP, letting a network attacker who can force or observe HTTP traffic capture sensitive cookies such as session tokens (high confidentiality impact, per CWE-201). Anyone using curl or an application, service, or firmware embedding libcurl — from CLI tools to embedded devices — is potentially affected, since the vulnerable code is in the widely distributed cookie engine. Exploitation status: no public proof-of-concept, not listed in CISA KEV, and EPSS estimates only a 0.5% chance of exploitation within 30 days.
What to do: Upgrade curl and any bundled/embedded libcurl to the patched release identified in the curl project advisory for CVE-2026-80255 (no fixed version number is given in the provided data). Audit dependencies and firmware builds for embedded libcurl, and as a mitigation avoid cookie reuse across HTTP and HTTPS to the same host and prefer HTTPS-only requests. With no public PoC or known in-the-wild exploitation, this can be handled in routine patch cycles, but prioritize hosts where captured cookies would grant significant access.
| curl (haxx.se / curl project) curl command-line tool and libcurl library (cookie engine) | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Vendors
- haxx
- Products
- curl
- Weakness
- CWE-201
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
In the news0 stories
No ingested article mentions this CVE yet.