CVE-2024-35195
MEDIUM 5.6CVSS 3.1Requests `Session` object does not verify requests after making first request with verify=False
Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests Session, if the first request is made with verify=False to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of verify. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.
- Published
- 20 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-670
- Also known as
- GHSA-9wx4-h78v-vm56PYSEC-2026-1873
- Sources
- NVDJSONOSV GHSA-9wx4-h78v-vm56JSONOSV PYSEC-2026-1873JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | requests | < 2.32.0 | 2.32.0 |
References
- https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac · WEB, FIX
- https://github.com/psf/requests/pull/6655 · WEB
- https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-35195 · ADVISORY
- https://github.com/psf/requests · PACKAGE
- https://pypi.org/project/requests · PACKAGE
- https://github.com/advisories/GHSA-9wx4-h78v-vm56 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 May 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 May 2024)