CVE-2024-35195psf requests
Medium 5.6
Follow: this CVE · psf · psf requests We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 3.1
- 5.6
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 24
- Auth required
- Yes
- Published
- May 20, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-670
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for requests.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | requests |
< 2.32.0 |
2.32.0 |
pip install "requests>=2.32.0" |
| PyPI | requests |
< 2.32.0 |
2.32.0 |
pip install "requests>=2.32.0" |
Per OSV / GitHub Advisories (GHSA-9wx4-h78v-vm56, PYSEC-2026-1873). Check the version in your lockfile before upgrading.
Affected products
- psf · requests
- request_project · request
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-requests-2.34.2-1.2 on GA media · SUSE · openSUSE-SU-2026:12038-1 · Oct 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.