# CVE-2023-32681: Unintended leak of Proxy-Authorization header in requests

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/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): 2.97%, higher than 87% of CVEs (2026-12-01)
- Published: 2023-05-22T20:36:32.000Z
- Modified: 2026-09-10T03:50:01.756Z
- Also known as: GHSA-j8r2-6x86-q33q, PYSEC-2023-74
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.

(As written by CVE List.)

## Affected

- psf requests: >= 2.3.0, < 2.31.0
- requests (PyPI): from 2.3.0 before 2.31.0; before 74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5
- python requests: from 2.3.0 before 2.31.0
- fedoraproject fedora: 37

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q> (advisory, vendor-advisory, web)
- <https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5> (fix, patch, web)
- <https://github.com/psf/requests/releases/tag/v2.31.0> (release-notes, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/> (mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ/>
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html> (web)
- <https://security.gentoo.org/glsa/202309-08> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-32681> (advisory)
- <https://github.com/psf/requests> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2023-74.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ> (web)

## Sources

- CVE List: [CVE-2023-32681](https://www.cve.org/CVERecord?id=CVE-2023-32681), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-j8r2-6x86-q33q](https://github.com/advisories/GHSA-j8r2-6x86-q33q), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-32681](https://nvd.nist.gov/vuln/detail/CVE-2023-32681), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-74](https://osv.dev/vulnerability/PYSEC-2023-74), CC-BY-4.0, modified 2023-11-08

---

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