{"id":"CVE-2024-35195","aliases":["CVE-2024-35195","GHSA-9wx4-h78v-vm56","PYSEC-2026-1873"],"related":[],"kind":"vulnerability","state":"published","title":"Requests `Session` object does not verify requests after making first request with verify=False","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.\n\nThis occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.\n\nThis behavior affects versions of `requests` prior to 2.32.0.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Requests es una librería HTTP. Antes de 2.32.0, al realizar solicitudes a través de una `Sesión` de Solicitudes, si la primera solicitud se realiza con `verify=False` para deshabilitar la verificación de certificados, todas las solicitudes posteriores al mismo host continuarán ignorando la verificación de certificados independientemente de los cambios en el valor de \"verificar\". Este comportamiento continuará durante el ciclo de vida de la conexión en el grupo de conexiones. Esta vulnerabilidad se solucionó en 2.32.0.","source":"nvd"}],"published":"2024-05-20T20:14:48.206Z","modified":"2026-09-10T03:50:13.740Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","score":5.6,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","score":5.6,"rating":"MEDIUM"}],"cwes":["CWE-670"],"affected":[{"ranges":[{"version":"< 2.32.0","status":"affected"}],"vendor":"psf","product":"requests","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2.32.0","status":"affected"}],"vendor":"request_project","product":"request","cpe":"cpe:2.3:a:request_project:request:2.32.0:*:*:*:*:node.js:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.32.0"}],"ecosystem":"PyPI","package":"requests","purl":"pkg:pypi/requests","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.32.0"}],"ecosystem":"PyPI","package":"requests","purl":"pkg:pypi/requests","source":"pysec"}],"references":[{"url":"https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/psf/requests/pull/6655","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac","tags":["fix","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35195","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/psf/requests","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/requests","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-9wx4-h78v-vm56","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-07-30T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35195","url":"https://www.cve.org/CVERecord?id=CVE-2024-35195","licence":"CVE Terms of Use","modified":"2025-07-31T03:56:03.717Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9wx4-h78v-vm56","url":"https://github.com/advisories/GHSA-9wx4-h78v-vm56","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:13.740Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35195","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35195","licence":"Public domain","modified":"2026-06-17T07:34:31.230Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1873","url":"https://osv.dev/vulnerability/PYSEC-2026-1873","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:36.762Z"}],"updatedAt":"2026-11-25T22:58:40.677Z","epss":{"score":0.0034,"percentile":0.29464,"date":"2026-12-01T12:00:22.000Z"}}