CVE-2023-32681
Unintended leak of Proxy-Authorization header in requests
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.974% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.1 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:56:54.805Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:56:54.805Z | CVE Program |
| epss | verified | 2026-11-19T16:04:36.415Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:02.545Z | OSV |
| affected | verified | 2026-11-19T12:56:54.805Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:54.805Z | CVE Program |
Affected versions and configuration
psf requests; default status: unknown: >= 2.3.0, < 2.31.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "psf",
"product": "requests",
"versions": [
{
"status": "affected",
"version": ">= 2.3.0, < 2.31.0"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q",
"name": "https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5",
"name": "https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/psf/requests/releases/tag/v2.31.0",
"name": "https://github.com/psf/requests/releases/tag/v2.31.0",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ/",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202309-08",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T15:25:36.610Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-32681",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-01-14T19:35:47.263757Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-01-14T19:35:55.755Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-j8r2-6x86-q33q",
"aliases": [
"CVE-2023-32681",
"PYSEC-2023-74"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.31.0"
}
]
}
],
"package": {
"name": "requests",
"purl": "pkg:pypi/requests",
"ecosystem": "PyPI"
},
"versions": [
"2.10.0",
"2.11.0",
"2.11.1",
"2.12.0",
"2.12.1",
"2.12.2",
"2.12.3",
"2.12.4",
"2.12.5",
"2.13.0",
"2.14.0",
"2.14.1",
"2.14.2",
"2.15.0",
"2.15.1",
"2.16.0",
"2.16.1",
"2.16.2",
"2.16.3",
"2.16.4",
"2.16.5",
"2.17.0",
"2.17.1",
"2.17.2",
"2.17.3",
"2.18.0",
"2.18.1",
"2.18.2",
"2.18.3",
"2.18.4",
"2.19.0",
"2.19.1",
"2.20.0",
"2.20.1",
"2.21.0",
"2.22.0",
"2.23.0",
"2.24.0",
"2.25.0",
"2.25.1",
"2.26.0",
"2.27.0",
"2.27.1",
"2.28.0",
"2.28.1",
"2.28.2",
"2.29.0",
"2.3.0",
"2.30.0",
"2.4.0",
"2.4.1",
"2.4.2",
"2.4.3",
"2.5.0",
"2.5.1",
"2.5.2",
"2.5.3",
"2.6.0",
"2.6.1",
"2.6.2",
"2.7.0",
"2.8.0",
"2.8.1",
"2.9.0",
"2.9.1",
"2.9.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-j8r2-6x86-q33q/GHSA-j8r2-6x86-q33q.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32681",
"type": "ADVISORY"
},
{
"url": "https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5",
"type": "WEB"
},
{
"url": "https://github.com/psf/requests",
"type": "PACKAGE"
},
{
"url": "https://github.com/psf/requests/releases/tag/v2.31.0",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2023-74.yaml",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ",
"type": "WEB"
},
{
"url": "https://security.gentoo.org/glsa/202309-08",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-200"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2023-05-26T18:15:14Z",
"github_reviewed_at": "2023-05-22T20:36:32Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2023-74",
"aliases": [
"CVE-2023-32681",
"GHSA-j8r2-6x86-q33q"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/psf/requests",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.31.0"
}
]
}
],
"package": {
"name": "requests",
"purl": "pkg:pypi/requests",
"ecosystem": "PyPI"
},
"versions": [
"2.10.0",
"2.11.0",
"2.11.1",
"2.12.0",
"2.12.1",
"2.12.2",
"2.12.3",
"2.12.4",
"2.12.5",
"2.13.0",
"2.14.0",
"2.14.1",
"2.14.2",
"2.15.0",
"2.15.1",
"2.16.0",
"2.16.1",
"2.16.2",
"2.16.3",
"2.16.4",
"2.16.5",
"2.17.0",
"2.17.1",
"2.17.2",
"2.17.3",
"2.18.0",
"2.18.1",
"2.18.2",
"2.18.3",
"2.18.4",
"2.19.0",
"2.19.1",
"2.20.0",
"2.20.1",
"2.21.0",
"2.22.0",
"2.23.0",
"2.24.0",
"2.25.0",
"2.25.1",
"2.26.0",
"2.27.0",
"2.27.1",
"2.28.0",
"2.28.1",
"2.28.2",
"2.29.0",
"2.3.0",
"2.30.0",
"2.4.0",
"2.4.1",
"2.4.2",
"2.4.3",
"2.5.0",
"2.5.1",
"2.5.2",
"2.5.3",
"2.6.0",
"2.6.1",
"2.6.2",
"2.7.0",
"2.8.0",
"2.8.1",
"2.9.0",
"2.9.1",
"2.9.2"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/requests/PYSEC-2023-74.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q",
"type": "ADVISORY"
},
{
"url": "https://github.com/psf/requests/releases/tag/v2.31.0",
"type": "WEB"
},
{
"url": "https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5",
"type": "FIX"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | requests | Not a distribution channel | 2.31.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:02.545ZArchived source JSON
Source publication: 2023-05-22T20:36:32.000Z
Source modification: 2026-09-10T03:50:01.756ZDocument fingerprint
1a3ca4577ab219ecf6223ba2bccbb3092877b36d04a48a0e38b1203cd701e0a1 - OSVConsulted: 2026-11-19T12:52:02.545ZArchived source JSON
Source publication: 2023-05-26T18:15:00.000Z
Source modification: 2023-11-08T04:12:35.436ZDocument fingerprint
1a3ca4577ab219ecf6223ba2bccbb3092877b36d04a48a0e38b1203cd701e0a1 - CVE ProgramConsulted: 2026-11-19T12:56:54.805ZArchived source JSON
Source publication: 2023-05-26T17:02:52.899Z
Source modification: 2025-02-13T16:54:56.639ZDocument fingerprint
3ed5b9ea507db2658eb4c3ed14c6378596b419449a1e1b11a7c2712aca276ab6 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:36.415ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0c875ba91052125bcb356c03548d1c287ff4ab51d3765c264c5197cc9bbac9da
Official status history
- UNKNOWN → PUBLISHED · · evidence