# CVE-2023-43804: `Cookie` HTTP header isn't stripped on cross-origin redirects

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/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.36%, higher than 72% of CVEs (2026-12-01)
- Published: 2023-10-02T23:27:05.000Z
- Modified: 2026-09-10T03:49:24.753Z
- Also known as: GHSA-v845-jxx5-vc9f, PYSEC-2023-192
- Weaknesses: CWE-200
- Assigned by: GitHub_M

## Description

urllib3 is a user-friendly HTTP client library for Python. urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly. This issue has been patched in urllib3 version 1.26.17 or 2.0.5.

(As written by CVE List.)

## Affected

- urllib3 urllib3: >= 2.0.0, < 2.0.6; < 1.26.17
- urllib3 (PyPI): from 2.0.0 before 2.0.6; before 1.26.17; before 644124ecd0b6e417c527191f866daa05a5a2056d; before 01220354d389cd05474713f8c982d05c9b17aafb
- python urllib3: before 1.26.17; from 2.0.0 before 2.0.6
- debian debian_linux: 10.0
- fedoraproject fedora: 37; 38; 39

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f> (advisory, patch, vendor-advisory, web)
- <https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb> (fix, patch, web)
- <https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d> (fix, patch, web)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html> (mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY/> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ/> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/> (mailing-list, third-party-advisory)
- <https://www.vicarius.io/vsociety/posts/cve-2023-43804-urllib3-vulnerability-3> (web)
- <https://security.netapp.com/advisory/ntap-20241213-0007/>
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43804> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-192.yaml> (web)
- <https://github.com/urllib3/urllib3> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ> (web)
- <https://security.netapp.com/advisory/ntap-20241213-0007> (web)

## Sources

- CVE List: [CVE-2023-43804](https://www.cve.org/CVERecord?id=CVE-2023-43804), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-v845-jxx5-vc9f](https://github.com/advisories/GHSA-v845-jxx5-vc9f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-43804](https://nvd.nist.gov/vuln/detail/CVE-2023-43804), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-192](https://osv.dev/vulnerability/PYSEC-2023-192), CC-BY-4.0, modified 2023-11-08

---

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