{"id":"CVE-2024-35195","published":"2024-05-20T20:14:48Z","modified":"2025-07-31T03:56:03Z","title":"Requests `Session` object does not verify requests after making first request with verify=False","vendor":"psf","product":"requests","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00379,"percentile":0.23806,"provenance":"source"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"references":[{"url":"https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/psf/requests/pull/6655","tags":["x_refsource_MISC"]},{"url":"https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.76},{"name":"CVSS severity","points":3.92}]},"vendorSlug":"psf","affectedVersions":[{"vendor":"psf","product":"requests","versions":["< 2.32.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-30T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"requests","vulnerableRanges":["<2.32.0"],"patched":["2.32.0"],"from":["GHSA-9wx4-h78v-vm56","PYSEC-2026-1873"],"provenance":"source"}],"summary":{"text":"The Requests HTTP library's Session object, in the connection pool handling for the requests product, keeps certificate verification disabled for all later requests to a host once an initial request to that host was made with verify=False, even if verify is changed afterward. An attacker able to position themselves on the network path between the client and the server could intercept or alter that traffic, but only where the attacker has local access, the attack complexity is high, high privileges are required, and user interaction is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:28Z"},"euvd":{"id":"EUVD-2024-1565","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-2296","published":"2015-03-18","fixed":"2.6.0","kev":false},{"cve":"CVE-2018-18074","published":"2018-10-09","fixed":"2.20.0","kev":false},{"cve":"CVE-2023-32681","published":"2023-05-26","fixed":"2.31.0","kev":false,"link":{"from":"CVE-2023-32681","to":"CVE-2024-35195","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:requests","fromFixed":"2.31.0","toFixed":"2.32.0","daysApart":360}]}},{"cve":"CVE-2024-35195","published":"2024-05-20","fixed":"2.32.0","kev":false},{"cve":"CVE-2024-47081","published":"2025-06-09","fixed":"2.32.4","kev":false,"link":{"from":"CVE-2024-35195","to":"CVE-2024-47081","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:requests","fromFixed":"2.32.0","toFixed":"2.32.4","daysApart":385}]}},{"cve":"CVE-2026-25645","published":"2026-03-25","fixed":"2.33.0","kev":false}],"package":"PyPI:requests"}}