# CVE-2023-46218: cookie mixed case PSL bypass

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.69%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-06T08:00:00.000Z
- Modified: 2026-10-25T01:05:26.531Z
- Also known as: CURL-CVE-2023-46218
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: hackerone

## Description

This flaw allows a malicious HTTP server to set "super cookies" in curl that
are then passed back to more origins than what is otherwise allowed or
possible. This allows a site to set cookies that then would get sent to
different and unrelated sites and domains.

It could do this by exploiting a mixed case flaw in curl's function that
verifies a given cookie domain against the Public Suffix List (PSL). For
example a cookie could be set with `domain=co.UK` when the URL used a lower
case hostname `curl.co.uk`, even though `co.uk` is listed as a PSL domain.

(As written by CVE List.)

## Affected

- curl curl: from 8.4.0 up to 8.4.0 (not affected: from 7.46.0 before 7.46.0)
- https://github.com/curl/curl.git: from 7.46.0 before 8.5.0; from e77b5b7453c1e8ccd7ec0816890d98e2f392e465 before 2b0994c29a721c91c572cff7808c572a24d251eb
- haxx curl: from 7.46.0 up to 8.4.0
- fedoraproject fedora: 39

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- curl: rating Medium
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://hackerone.com/reports/2212193> (exploit, issue-tracking, patch, third-party-advisory)
- <https://curl.se/docs/CVE-2023-46218.html> (patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ZX3VW67N4ACRAPMV2QS2LVYGD7H2MVE/> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UOGXU25FMMT2X6UUITQ7EZZYMJ42YWWD/>
- <https://lists.debian.org/debian-lts-announce/2023/12/msg00015.html>
- <https://www.debian.org/security/2023/dsa-5587>
- <https://security.netapp.com/advisory/ntap-20240125-0007/>
- <https://cert-portal.siemens.com/productcert/html/ssa-093430.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-331112.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-202008.html>

## Sources

- CVE List: [CVE-2023-46218](https://www.cve.org/CVERecord?id=CVE-2023-46218), CVE Terms of Use, modified 2026-10-15
- curl: [CURL-CVE-2023-46218](https://osv.dev/vulnerability/CURL-CVE-2023-46218), MIT, modified 2026-10-25
- NVD: [CVE-2023-46218](https://nvd.nist.gov/vuln/detail/CVE-2023-46218), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46218 · Whole record: https://cve.day/CVE-2023-46218.json · Rebuilt by cve.day 2026-11-25T22:58:31.087Z
