Requests `Session` object does not verify requests after making first request with verify=False
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 11 fixed, 8 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| python-pillow | requests | before 2.32.0 | 2.32.0 | Patch available | CNA |
| — | requests (PyPI) | before 2.32.0 | 2.32.0 | Patch available | GHSA-9wx4-h78v-vm56 |
- requests Vendorpython-pillow Affected before 2.32.0 Fixed in 2.32.0 Patch available CNA
- requests (PyPI) Vendor— Affected before 2.32.0 Fixed in 2.32.0 Patch available GHSA-9wx4-h78v-vm56
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:request_project:request:2.32.0:*:*:*:*:node.js:*:* | 2.32.0 | — | Request Project |
- cpe:2.3:a:request_project:request:2.32.0:*:*:*:*:node.js:*:* Versions 2.32.0 — ·Request Project
Remediation
- Fix · CNA requests (psf) Fixed in 2.32.0
- Fix · GHSA-9wx4-h78v-vm56 requests (PyPI) Fixed in 2.32.0 Advisory →
Red Hat 8 advisories
- RHSA-2025:8385 Released 2025-06-02 · Red Hat rating ModerateA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 1.14 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2025:7049 Released 2025-05-13 · Red Hat rating Moderatepython-requests security update
- Red Hat Enterprise Linux AppStream (v. 9) python3-requests+security-2.25.1-9.el9, python3-requests+socks-2.25.1-9.el9
- Red Hat Enterprise Linux BaseOS (v. 9) python-requests-2.25.1-9.el9, python3-requests-2.25.1-9.el9
- RHSA-2025:2399 Released 2025-03-05 · Red Hat rating ModerateSatellite 6.16.3 Async Update
- Red Hat Satellite 6.16 for RHEL 8 candlepin-4.4.21-1.el8sat, candlepin-selinux-4.4.21-1.el8sat, foreman-3.12.0.6-1.el8sat +42
- Red Hat Satellite 6.16 for RHEL 9 candlepin-4.4.21-1.el9sat, candlepin-selinux-4.4.21-1.el9sat, foreman-3.12.0.6-1.el9sat +42
Show 5 more Red Hat advisories
- RHSA-2025:1335 Released 2025-02-12 · Red Hat rating ImportantRHUI 4.11 security, bugfix, and enhancement update
- RHUI 4 for RHEL 8 python-aiohttp-3.9.4-1.el8ui, python-cryptography-42.0.8-1.el8ui, python-django-4.2.15-1.el8ui +13
- RHSA-2025:0012 Released 2025-01-02 · Red Hat rating Moderatepython-requests security update
- Red Hat Enterprise Linux BaseOS (v. 8) python-requests-2.20.0-5.el8_10, python3-requests-2.20.0-5.el8_10
- RHSA-2024:9988 Released 2024-11-21 · Red Hat rating ModerateRHOSP 17.1.4 (python-requests) security update
- Red Hat OpenStack Platform 17.1 python-requests-2.25.1-2.el8ost, python3-requests-2.25.1-2.el8ost
- RHSA-2024:4522 Released 2024-07-12 · Red Hat rating ModerateRed Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower-4.5.8-1.el8ap
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower-4.5.8-1.el9ap
- RHSA-2024:3781 Released 2024-06-10 · Red Hat rating ModerateRed Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower-4.5.7-1.el8ap, automation-hub-4.9.2-1.el8ap, python39-aiohttp-3.9.5-1.el8ap +25
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower-4.5.7-1.el9ap, automation-hub-4.9.2-1.el9ap, python-aiohttp-3.9.5-1.el9ap +25
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Certification Program for Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| Red Hat Certification for Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Out of support scope |
| Red Hat Quay 3 | Affected | No fix yet |
| RHUI 4 for RHEL 8 | Fixed | RHSA-2025:1335 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Fixed | RHSA-2024:3781, RHSA-2024:4522 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Fixed | RHSA-2024:3781, RHSA-2024:4522 |
| Red Hat Developer Hub 1.2 for RHEL 9 | Fixed | — |
| Red Hat Discovery 1.14 | Fixed | RHSA-2025:8385 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:7049 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2025:0012 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2025:7049 |
| Red Hat OpenStack Platform 17.1 | Fixed | RHSA-2024:9988 |
| Red Hat Satellite 6.16 for RHEL 8 | Fixed | RHSA-2025:2399 |
| Red Hat Satellite 6.16 for RHEL 9 | Fixed | RHSA-2025:2399 |
Not affected: 13 products
- RHUI 4 for RHEL 8
- Red Hat Ansible Automation Platform 2.4 for RHEL 8
- Red Hat Ansible Automation Platform 2.4 for RHEL 9
- Red Hat Developer Hub 1
- Red Hat Developer Hub 1.2 for RHEL 9
- Red Hat Discovery 1
- Red Hat Discovery 1.14
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2024-35195
- 2026-10-03 Alias added: GHSA-9wx4-h78v-vm56
- 2026-10-27 Affected versions changed · Red Hat
References
Other 8
- https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56
- https://github.com/psf/requests/pull/6655
- https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ/
- https://github.com/psf/requests
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q
- https://lists.fedoraproject.org/archives/list/[email protected]/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ
More python-pillow vulnerabilities
- TI-2016-01993 The DES and Triple DES ciphers, as used in the TLS, SSH, and IPSec protocols and other… CVSS 3.1HIGH 7.5
- TI-2022-24108 An XML External Entity (XXE) issue was discovered in Python through 3.9.1. CVSS 3.1CRITICAL 9.8
- TI-2022-17508 The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and… CVSS 3.1CRITICAL 9.8
- TI-2021-02254 Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c… CVSS 3.1CRITICAL 9.8
- TI-2007-04413 Directory traversal vulnerability in the (1) extract and (2) extractall functions in the… CVSS 3.1CRITICAL 9.8
- TI-2026-76627 Out-of-bounds read in Pillow TIFF encoder ColorMap handling CVSS 4.0HIGH 8.8
Sources
- CVE-2024-35195 · CVE Program
- CVE-2024-35195 · NVD
- FIRST EPSS
- GHSA-9wx4-h78v-vm56 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-35195 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences