7.5high
stale custom cookie host causes cookie leak
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- curl
- Also known as
- CURL-CVE-2026-6276
Description
Using libcurl, when a custom `Host:` header is first set for an HTTP request and a second request is subsequently done using the same *easy handle* but without the custom `Host:` header set, the second request would use stale information and pass on cookies meant for the first host in the second request. Leak them.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| curl curl | from 7.71.0 before 8.14.2, from 8.15.0 before 8.16.1, from 8.17.0 before 8.20.0, from e15e51384a423be31318b3c9c7d612a1aae661fd before 3a19987a87f393d9394fe5acc7643f6c263c92db, 8.19.0, 8.18.0, 8.17.0, 8.16.0 and 49 more | CVE List |
| https://github.com/curl/curl.git | from 7.71.0 before 8.14.2, from 8.15.0 before 8.16.1, from 8.17.0 before 8.20.0, from e15e51384a423be31318b3c9c7d612a1aae661fd before 3a19987a87f393d9394fe5acc7643f6c263c92db | curl |
| haxx curl | from 7.71.0 before 8.20.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| curl | low rating | |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
Using libcurl, when a custom `Host:` header is first set for an HTTP request and a second request is subsequently done using the same *easy handle* but without the custom `Host:` header set, the second request would use stale information and pass on cookies meant for the first host in the second request. Leak them.
NVD (es)
Usando libcurl, cuando se establece por primera vez un encabezado “Host:” personalizado para una solicitud HTTP y posteriormente se realiza una segunda solicitud utilizando el mismo easy handle pero sin el encabezado “Host:” personalizado establecido, la segunda solicitud usaría información obsoleta y pasaría cookies destinadas al primer host en la segunda solicitud. Filtrándolas.
References
| https://curl.se/docs/CVE-2026-6276.json | product | |
| https://curl.se/docs/CVE-2026-6276.html | patch, vendor-advisory | |
| https://hackerone.com/reports/3671818 | exploit, issue-tracking, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2026/04/29/13 | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6276 changed 2026-09-15 | CVE Terms of Use |
| curl | CURL-CVE-2026-6276 changed 2026-10-25 | MIT |
| NVD | CVE-2026-6276 changed 2026-11-11 | Public domain |